/* ============================
   CalcHub - Unique Styles (ch- prefix)
   Text: Poppins | Headings: Roboto
   ============================ */

   /* Fonts */
   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&display=swap');

   :root{
    --ch-blue:#0c2a7c;
    --ch-blue-dark:#0b5f9a;
    --ch-ink:#1b2635;
    --ch-muted:#505050;
    --ch-border: rgba(18,38,63,.08);
    --ch-shadow: rgba(0, 0, 0, 0.2);
    --ch-shadow-sm: rgba(0, 0, 0, 0.19);

    --ch-radius: 14px;
  }
  .btn-outline-primary {
    --bs-btn-color: #0c2a7c !important;
    --bs-btn-border-color: #0c2a7c !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0c2a7c !important;
    --bs-btn-hover-border-color: #0c2a7c !important;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0c2a7c !important;
    --bs-btn-active-border-color: #0c2a7c !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #0c2a7c !important;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0c2a7c !important;
    --bs-gradient: none;
  }
  .navbar, .card{
    box-shadow: 0 2px 10px 0 var(--ch-shadow-sm);
  }
  .card-title{
    color: black;
  }
  .bg{

    background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;
  }
  .btn-primary{
    background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;
    border: unset;
  }
  .btn-primary:hover{
    background: linear-gradient(265deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;
  }
  .text-primary{
    color: var(--ch-blue) !important;
  }
  .nav-item .nav-link:hover{
    color: var(--ch-blue) !important;
  }
  .logo{
    width: 200px;
  }
  .list-style-none{
    list-style: none;
  }
  /* Global fonts */
  html, body{
    height: 100%;
    font-family: "Poppins", sans-serif !important;
    color: var(--ch-ink);
    background: #fff;
  }

  /* Headings */
  h1, h2, h3, h4, h5, h6,
  .ch-title-font{
    font-family: "Roboto", sans-serif !important;
  }

  /* Make form controls inherit Poppins */
  button, input, select, textarea, label, .btn, .form-control, .form-select{
    font-family: "Poppins", sans-serif !important;
  }

  a{ text-decoration: none; }
  .ch-muted{ color: var(--ch-muted); }
  .shadow{
    box-shadow: 0 2px 10px 0 var(--ch-shadow-sm) !important;
    border-radius: 10px;
  }
  .cate-box{
    gap: 40px;
  }
  .oc-title{
    color: var(--ch-muted);
  }

  .two-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

/* ---------------------------
   Home Hero (polygon bg)
   ---------------------------- */
   .ch-hero{
    position: relative;
    overflow: hidden;
    color:#fff;
    padding: 200px 0px 80px 0px;
    background-image: url(../images/bg-header.png);
    background-repeat: no-repeat;

  }
  .ch-hero .container{ position: relative; z-index: 2; }

  .ch-search{
    max-width: 760px;
    margin-inline: auto;
  }
  .ch-search .form-control{
    height: 46px;
    border-radius: 999px;
    padding-left: 18px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.10);
    color:#fff;
  }
  .ch-search .form-control::placeholder{ color: rgba(255,255,255,.70); }
  .ch-search .btn{
    border-radius: 100px;
    height: 46px;
    padding-inline: 21px;
  }
  .read-about{
    font-size: 14px;
  }
  /* Generic cards */
  .ch-card{
    background: #fff;
    border-radius: var(--ch-radius);
    box-shadow: 0 2px 10px 0 var(--ch-shadow-sm) !important;
    border: 1px solid rgba(18,38,63,.06);
  }
  .ch-card-sm{
    background:#fff;
    border-radius: 12px;
    box-shadow: var(--ch-shadow-sm);
    border: 1px solid rgba(18,38,63,.06);
  }

  /* Home category tiles */
  .ch-cat{
    padding: 16px 14px;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .ch-cat:hover{
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(18,38,63,.14);
  }
  .ch-cat .ch-icon{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: #f2f6ff;
    color: var(--ch-blue-dark);
    margin-bottom: 10px;
  }
  .ch-cat .ch-cat-title{
    font-weight: 800;
    margin-bottom: 2px;
    font-family: "Roboto", sans-serif !important;
  }
  .ch-cat .ch-cat-count{
    font-size: 12px;
    color: var(--ch-muted);
  }

  /* Featured pills */
  .ch-logos{
    display:flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    justify-content:center;
    align-items:center;
    opacity: .90;
  }
  .ch-logo-pill{
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px dashed rgba(18,38,63,.18);
    font-weight: 800;
    color: rgba(18,38,63,.70);
    background: #fff;
    font-family: "Roboto", sans-serif !important;
  }

  /* Blue section (for about/popular) */
  .ch-section-blue{
    position: relative;
    overflow: hidden;
    background: white;
    color:#fff;
    padding: 56px 0;
  }
  .ch-section-blue .container{ position: relative; z-index: 2; }

  .ch-pop-card{
    height: 100%;
    padding: 16px;
    border-radius: 14px;
    background:#fff;
    border: 1px solid rgba(18,38,63,.06);
    box-shadow: var(--ch-shadow-sm);
  }
  .ch-pop-card h6{
    font-weight: 900;
    margin-bottom: 8px;
    font-family: "Roboto", sans-serif !important;
  }
  .ch-pop-card p{
    color: var(--ch-muted);
    font-size: 13px;
    margin: 0 0 10px;
  }
  .ch-pop-card a{
    font-weight: 800;
    font-size: 13px;
    color: #1a73e8;
  }

  /* Collection listing tiles */
  .ch-tile{
    background:#fff;
    border: 1px solid rgba(18,38,63,.06);
    box-shadow: var(--ch-shadow-sm);
    border-radius: 10px;
    padding: 16px 10px;
    text-align:center;
    font-size: 13px;
    color: rgba(18,38,63,.82);
    transition: transform .15s ease, box-shadow .15s ease;
    min-height: 58px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .ch-tile:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(18,38,63,.12);
  }

/* ---------------------------
   Calculator Page Hero (Reference-like)
   Left blue + diagonal cut
   ---------------------------- */
   .ch-calc-hero{
    position: relative;
    padding: 95px 0 50px;
    overflow: hidden;
    background: #ffffff;
  }
  .ch-calc-hero .ch-bg-left{
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 48%;
    background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
    z-index: 1;
  }
  .ch-calc-hero .ch-bg-left::after{
    content:"";
    position:absolute;
    inset:-80px -120px -120px -120px;
    opacity:.35;
    background-image:
    linear-gradient(135deg, rgba(255,255,255,.10) 0 40%, transparent 40% 100%),
    linear-gradient(45deg, rgba(255,255,255,.10) 0 35%, transparent 35% 100%),
    linear-gradient(120deg, rgba(255,255,255,.08) 0 38%, transparent 38% 100%);
    background-size: 360px 260px, 420px 300px, 520px 360px;
    background-position: 0 0, 120px 40px, 220px 140px;
  }
  .ch-calc-hero .ch-bg-diagonal{
    position:absolute;
    top:0; bottom:0;
    left: 44%;
    width: 180px;
    background: #ffffff;
    transform: skewX(-18deg);
    z-index: 2;
    box-shadow: 0 0 0 1px rgba(18,38,63,.03);
  }
  .ch-calc-hero .container{ position: relative; z-index: 3; }

  /* Left calc card */
  .ch-calc-card{
    width: 360px;
    max-width: 100%;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(18,38,63,.06);
    box-shadow: var(--ch-shadow);
  }
  .ch-calc-card .ch-calc-head{
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 8px;
    font-family: "Roboto", sans-serif !important;
  }
  .ch-calc-card label{
    font-size: 11px;
    color: var(--ch-muted);
    margin-bottom: 6px;
  }
  .ch-calc-card .form-control,
  .ch-calc-card .form-select{
    border-radius: 10px;
    height: 38px;
    font-size: 13px;
  }
  .ch-btn{
    height: 36px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 13px;
    font-family: "Roboto", sans-serif !important;
  }

  /* Result lines */
  .ch-result{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(18,38,63,.08);
  }
  .ch-result .ch-line{
    display:flex;
    justify-content:space-between;
    font-size: 13px;
    margin-bottom: 6px;
  }
  .ch-result .ch-line b{
    font-weight: 900;
    font-family: "Roboto", sans-serif !important;
  }
  .ch-note{
    font-size: 11px;
    color: var(--ch-muted);
  }

  /* Right title + intro box */
  .ch-calc-title{
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -.5px;
    color:#1b2635;
    font-family: "Roboto", sans-serif !important;
  }
  .ch-intro{
    background:#fff;
    border-radius: 14px;
    border: 1px solid rgba(18,38,63,.06);
    box-shadow: var(--ch-shadow-sm);
    padding: 18px;
    max-width: 760px;
  }
  .ch-intro h6{
    font-weight: 900;
    margin-bottom: 6px;
    font-family: "Roboto", sans-serif !important;
  }
  .ch-intro p{
    margin:0 0 12px;
    color: var(--ch-muted);
    font-size: 13px;
  }
  .ch-intro .ch-quick{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(18,38,63,.08);
    font-size: 12px;
  }
  .ch-intro .ch-quick a{
    color:#1a73e8;
    font-weight: 800;
  }
  .ch-intro ul{
    margin: 6px 0 0;
    padding-left: 16px;
  }

  /* Article (center narrow) */
  .ch-article{
    max-width: 720px;
    margin: 0 auto;
  }
  .ch-article h3{
    font-weight: 900;
    margin-top: 30px;
    margin-bottom: 8px;
    font-family: "Roboto", sans-serif !important;
  }
  .ch-article p{
    color: rgba(18,38,63,.78);
    line-height: 1.85;
    font-size: 14px;
  }

  /* People also viewed strip */
  .ch-blue-strip{
    background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
    position: relative;
    overflow:hidden;
  }
  .ch-blue-strip::before{
    content:"";
    position:absolute;
    inset:-80px -120px -120px -120px;
    opacity:.25;
    background-image:
    linear-gradient(135deg, rgba(255,255,255,.10) 0 40%, transparent 40% 100%),
    linear-gradient(45deg, rgba(255,255,255,.10) 0 35%, transparent 35% 100%);
    background-size: 380px 280px, 480px 340px;
    background-position: 40px 0, 160px 160px;
  }
  .ch-blue-strip .container{ position:relative; z-index:2; }

  .ch-mini-card{
    background:#fff;
    border-radius: 12px;
    padding: 16px;
    height:100%;
    box-shadow: var(--ch-shadow-sm);
    border: 1px solid rgba(18,38,63,.06);
  }
  .ch-mini-card h6{
    font-weight: 900;
    margin-bottom: 8px;
    font-family: "Roboto", sans-serif !important;
  }
  .ch-mini-card p{
    font-size: 12px;
    color: var(--ch-muted);
    margin:0 0 10px;
  }
  .ch-mini-card a{
    font-weight: 900;
    color:#1a73e8;
    font-size: 12px;
  }

  /* Footer */
  .ch-footer{
    padding: 46px 0;
    border-top: 1px solid rgba(18,38,63,.08);
  }
  .ch-social a{
    width: 36px; height:36px;
    border-radius: 999px;
    display:inline-flex;
    align-items:center; justify-content:center;
    border: 1px solid rgba(18,38,63,.14);
    color: rgba(18,38,63,.70);
    margin-right: 8px;
  }
  .ch-social a:hover{
    color: rgba(18,38,63,.92);
    border-color: rgba(18,38,63,.28);
  }
/* ==========================================================
   VIDEO-LIKE CALCULATOR PAGE (BLUE THEME) - Add-on Styles
   Sticky Left Panel + Right Article + Hello Card + Viewed Strip
   Uses existing vars: --ch-blue / --ch-blue-dark
   ========================================================== */

   /* ---------- Topbar (header like video) ---------- */
   .ch-topbar{
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(18,38,63,.06);
    padding: 20px 0;
  }
  .ch-icon-btn{
    border: 1px solid rgba(18,38,63,.12);
    border-radius: 10px;
    padding: 6px 10px;
    background:#fff;
  }
  .ch-icon-btn i{ font-size: 18px; }
  .footer-logo{
    width: 250px;
  }
  .ch-toplink{
    color: rgba(18,38,63,.70);
    font-weight: 800;
    font-size: 13px;
  }
  .ch-toplink:hover{ color: rgba(18,38,63,.95); }

  .ch-share-btn{
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(18,38,63,.14);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color: rgba(18,38,63,.70);
  }
  .ch-share-btn:hover{
    color: rgba(18,38,63,.95);
    border-color: rgba(18,38,63,.28);
  }

  /* Search pill */
  .ch-search{
    position: relative;

  }
  .ch-search i{
    position:absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(18,38,63,.55);
  }
  .ch-search input{
    width: 100%;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(15,111,174,.35);
    padding: 0 12px 0 34px;
    outline: none;
    font-size: 13px;
    background: #fff;
  }
  .ch-search input:focus{
    border-color: rgba(15,111,174,.65);
    box-shadow: 0 0 0 4px rgba(15,111,174,.10);
  }

  /* ---------- Split hero area (left blue + diagonal + right white) ---------- */
  .ch-split{
    position: relative;
    overflow: hidden;
    padding: 22px 0 42px;
  }
  .ch-split-left{
    position:absolute;
    left:0; top:0; bottom:0;
    width: 38%;
    
    z-index: 1;
  }
  .bg-pill{
    background-position: top left;
    background-repeat: no-repeat; 
  }
  .main{
    margin-top: 70px;
  }
  .pills-main{
    display: flex;
    gap: 100px;
  }
  .ch-split-diagonal{
    position:absolute;
    top:0; bottom:0;
    z-index: 2;
    box-shadow: 0 0 0 1px rgba(18,38,63,.03);
  }
  .ch-split .container,
  .ch-split .container-fluid{ position:relative; z-index:3; }

  /* ---------- Left sticky group ---------- */
  .ch-sticky-wrap{
    position: sticky;
    top: 76px; /* topbar height */
    max-width: 430px;
    margin-left: 10px;
  }

  /* ---------- Calculator panel (inputs list like video) ---------- */
  .ch-calc-panel{
    background:#fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px 0 var(--ch-shadow-sm) ;
    overflow:hidden;
  }
  .ch-calc-list{ padding: 10px 0; }

  .ch-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 10px 12px;
    border-top: 1px solid rgba(18,38,63,.06);
  }
  .ch-row:first-child{ border-top: none; }

  .ch-row-label{
    font-size: 14px;
    color: rgba(18,38,63,.70);
  }
  .ch-row-control{
    width: 150px;
    display:flex;
    justify-content:flex-end;
  }
  .ch-input, .ch-select{
    height: 30px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
  }

  /* ---------- Result box below panel ---------- */
  .ch-result-box{
    margin-top: 12px;
    background:#fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px 0 var(--ch-shadow-sm);
    padding: 12px;
  }
  .ch-result-title{
    font-weight: 900;
    font-family:"Roboto",sans-serif !important;
    font-size: 13px;
    color: rgba(18,38,63,.80);
  }
  .ch-result-value{
    font-family:"Roboto",sans-serif !important;
    font-weight: 900;
    font-size: 26px;
    line-height: 1.1;
    margin-top: 2px;
  }
  .ch-result-note{
    font-size: 12px;
    color: rgba(18,38,63,.60);
    margin-top: 6px;
  }

  /* small buttons */
  .ch-outline-pill{
    border-radius: 999px !important;
    border: 1px solid rgba(15,111,174,.35) !important;
    color: rgba(18,38,63,.72) !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    background:#fff !important;
  }
  .ch-round-btn{
    width: 34px;
    height: 34px;
    border-radius: 999px !important;
    border: 1px solid rgba(18,38,63,.14) !important;
    background:#fff !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .ch-round-btn i{ color: rgba(18,38,63,.70); }

  /* ---------- Blue wide CTA like video ---------- */
  .ch-cta-wide{
    margin-top: 12px;
    width: 100%;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
    color:#fff;
    font-weight: 900;
    font-size: 12px;
    padding: 10px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow: 0 14px 30px rgba(11,95,154,.22);
  }
  .ch-cta-wide:hover{ 
    background: linear-gradient(265deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
    color:#fff;
    opacity:.95; 
  }

  /* ---------- 2x2 tiles below CTA ---------- */
  .ch-pill-tile{
    width:100%;
    border-radius: 10px;
    background:#fff;
    box-shadow: 0 6px 20px 0 var(--ch-shadow-sm);
    font-weight: 400;
    font-size: 14px;
    color: rgba(18,38,63,.75);
    padding: 10px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .ch-pill-tile:hover{ color: rgba(18,38,63,.95); }
  .ch-pill-strong{
    background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
    color:#fff !important;
    border-color: transparent !important;
  }
  .ch-pill-strong:hover{
    background: linear-gradient(265deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
  }
  /* ---------- Right content area ---------- */
  .ch-right-wrap{
    padding: 10px 6px 0 6px;
  }
  .ch-page-title{
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.6px;
    margin: 0 0 12px;
    font-family:"Roboto",sans-serif !important;
  }

  /* ---------- Hello card (like video popup inside page) ---------- */
  /*.ch-hello-card{
    position: relative;
    background:#fff;
    border: 1px solid rgba(18,38,63,.08);
    border-radius: 12px;
    box-shadow: var(--ch-shadow-sm);
    padding: 14px;
    max-width: 540px;
    margin-bottom: 14px;
    }*/
    .ch-hello-close{
      position:absolute;
      top: 8px;
      right: 8px;
      width: 30px;
      height: 30px;
      border-radius: 999px;
      border: 1px solid rgba(18,38,63,.12);
      background:#fff;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      color: rgba(18,38,63,.65);
    }
    .ch-hello-title{
      font-family:"Roboto",sans-serif !important;
      font-weight: 900;
      font-size: 16px;
      margin-bottom: 4px;
    }
    .ch-hello-text{
      font-size: 12px;
      color: rgba(18,38,63,.60);
    }

    /* Tip box inside hello card */
    .ch-tip-box{
      margin-top: 10px;
      border-radius: 10px;
      padding: 10px;
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      color:#fff;
    }
    .ch-tip-label{
      font-weight: 900;
      font-size: 11px;
      text-transform: uppercase;
      opacity: .95;
      margin-bottom: 4px;
      font-family:"Roboto",sans-serif !important;
    }
    .ch-tip-text{
      font-size: 12px;
      opacity: .95;
    }

    .ch-toc-title{
      margin-top: 20px;
      font-weight: 700;
      font-size: 18px;
      color: black;
    }
    .ch-toc{
      margin: 6px 0 0;
      padding-left: 16px;
    }
    .ch-toc li{ margin: 4px 0; font-size: 14px; }
    .ch-toc a{
      color: var(--ch-blue-dark);
      font-weight: 600;
      font-size: 15px;
    }
    .ch-toc a:hover{ text-decoration: underline; }

    /* ---------- Article typography ---------- */
    .ch-article{
      max-width: 720px;
    }
    .ch-article .ch-lead{
      font-size: 13px;
      color: rgba(18,38,63,.70);
      line-height: 1.85;
    }
    .ch-article h2{
      font-weight: 700;
      font-size: 18px;
      margin-top: 22px;
      margin-bottom: 8px;
      font-family:"Roboto",sans-serif !important;
    }
    .ch-article p{
      font-size: 13px;
      color: rgba(18,38,63,.78);
      line-height: 1.85;
    }

    /* Formula block (optional) */
    .ch-formula{
      margin: 12px 0;
      background:#fff;
      border: 1px solid rgba(18,38,63,.10);
      border-radius: 12px;
      box-shadow: var(--ch-shadow-sm);
      padding: 14px;
    }
    .ch-formula-line{
      font-family:"Roboto",sans-serif !important;
      font-weight: 900;
      font-size: 18px;
    }
    .ch-formula-sub{
      font-size: 12px;
      color: rgba(18,38,63,.60);
      margin-top: 6px;
    }

    /* ---------- People also viewed strip ---------- */
    .ch-viewed-strip{
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      position: relative;
      overflow:hidden;
      padding: 85px 0;
      background-image: url(../images/bg-header.png);
      background-repeat: no-repeat;
    }
    .oc-hero{
      background-image: url(../images/bg-header.png);
      background-repeat: no-repeat;
    }
    
    .ch-viewed-strip .container,
    .ch-viewed-strip .container-fluid{ position:relative; z-index:2; }

    .ch-viewed-title{
      color:#fff;
      font-weight: 900;
      font-family:"Roboto",sans-serif !important;
      margin-bottom: 12px;
    }
    .ch-view-card{
      background:#fff;
      border-radius: 12px;
      padding: 14px;
      border: 1px solid rgba(18,38,63,.06);
      box-shadow: var(--ch-shadow-sm);
      height: 100%;
    }
    .ch-view-card-title{
      font-family:"Roboto",sans-serif !important;
      font-weight: 500;
    }

    .ch-view-card-btn{
      font-family:"Roboto",sans-serif !important;
      font-weight: 600;
      margin-top: 15px;
      font-size: 14px;
    }
    .ch-view-card-text{
      font-size: 12px;
      color: rgba(18,38,63,.65);
    }
    h2.toc-title{
      background: #0b5695;
      padding: 10px 20px;
      border-radius: 10px;
      color: white;
    }
    /* ---------- Responsive ---------- */
    @media (max-width: 769px){
      .calc-mains {
        position: revert !important;
      }
      .hero-sec{
        gap:40px;
      }
      .left-side{
        width: 900px !important;
      }
      .ch-right-wrap{
        background-color: white;
        border-top-left-radius: 10px; 
        border-top-right-radius: 10px; 
      }
      .bg-pill{
        background-size: contain;
      }
      .pills-main{
        gap: 15px !important;

      }
      .ch-page-title{
        font-size: 20px;
      }
      .ch-right-wrap {
        padding: 20px 15px;
      }
    }

    @media (max-width: 426px){
      .hero-section h1 {
        font-size: 1.5rem !important;
      }
      .hero-section p {
        font-size: 1rem !important;
      }
      .big-btn1, .big-btn2{
        width: 90px !important;
      }
      .big-btn2{
        margin-left: 60px !important;
      }
      .left-side{
        width: 100% !important;
      }
      .pills-main{
        display: block !important;

      }
      .logo{
        width: 150px;
      }
    }

    .hero-section {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      color: white;
      padding: 100px 0px;
    }

    .hero-section h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
    }

    .hero-section p {
      font-size: 1.25rem;
      margin-bottom: 2rem;
      opacity: 0.95;
    }

    .search-box {
      max-width: 600px;
      margin: 0 auto;
    }

    .search-box input {
      height: 60px;
      font-size: 1.1rem;
      border-radius: 50px;
      padding-left: 30px;
      border: none;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .search-box input:focus {
      box-shadow: 0 10px 40px rgba(0,0,0,0.3);
      outline: none;
    }

    .category-card {
      border: none;
      border-radius: 15px;
      transition: transform 0.3s, box-shadow 0.3s;
      height: 100%;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .category-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    }

    .category-icon {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      margin: 0 auto 1rem;
      background: linear-gradient(135deg, var(--ch-blue), var(--ch-blue-dark));
      color: white;
    }

    .calculator-card {
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 1.5rem;
      transition: all 0.3s;
      cursor: pointer;
      height: 100%;
    }

    .calculator-card:hover {
      border-color: var(--ch-blue);
      box-shadow: 0 8px 16px rgba(79, 70, 229, 0.1);
      transform: translateY(-5px);
    }

    .calculator-card i {
      font-size: 2.5rem;
      color: var(--ch-blue);
      margin-bottom: 1rem;
    }

    .stats-section {
      background-color: #f8fafc;
      padding: 60px 0;
    }

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

    .stat-number {
      font-size: 3rem;
      font-weight: 700;
      color: var(--ch-blue);
    }

    .stat-label {
      color: #64748b;
      font-size: 1rem;
      margin-top: 0.5rem;
    }

    .footer {
      background-color: #1e293b;
      color: white;
      padding: 40px 0 20px;
    }

    .footer a {
      color: #94a3b8 !important;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer a:hover {
      color: white !important;
    }

    .btn-primary-custom {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;
      border: none;
      padding: 12px 35px;
      border-radius: 50px;
      font-weight: 600;
      transition: transform 0.3s;
      color: white;
    }
    .text-body-secondary{
      color: #94a3b8 !important;
    }
    .btn-primary-custom:hover {
      background: linear-gradient(265deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;
      transform: scale(1.05);
      color: white;
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 3rem;
      text-align: center;
    }

    .badge-new {
      background-color: #ef4444;
      color: white;
      font-size: 0.7rem;
      padding: 0.25rem 0.5rem;
      border-radius: 5px;
      height: fit-content;
    }
    p {
      margin-top: 0;
      margin-bottom: 0 !important;
    }
    /*Category*/

    .active>.page-link, .page-link.active {
      z-index: 3;
      color: white !important;
      background-color: var(--ch-blue);
      border-color: var(--ch-blue);
    }
    .page-link{
      color: var(--ch-blue) !important;
    }

    .cate-category-header {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;
      color: white;
      padding: 60px 0 40px;
    }

    .cate-category-header h1 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .cate-breadcrumb {
      background: transparent;
      padding: 0;
      margin-bottom: 1rem;
    }

    .breadcrumb-item a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
    }

    .breadcrumb-item.active {
      color: white;
    }

    .breadcrumb-item + .breadcrumb-item::before {
      color: rgba(255,255,255,0.6);
    }

    .cate-calculator-card {
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 1.5rem;
      transition: all 0.3s;
      cursor: pointer;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .cate-calculator-card:hover {
      border-color: white !important;
      box-shadow: 0 8px 16px rgba(79, 70, 229, 0.15);
      transform: translateY(-5px);
    }

    .cate-calculator-icon {
      width: 60px;
      height: 60px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.75rem;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;;
      color: white;
    }

    .cate-calculator-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #1e293b;
    }

    .cate-calculator-description {
      color: #64748b;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      flex-grow: 1;
    }

    .cate-badge-popular {
      background-color: #f59e0b;
      color: white;
      font-size: 0.7rem;
      padding: 0.25rem 0.5rem;
      border-radius: 5px;
      height: fit-content;
    }

    .cate-badge-new {
      background-color: #ef4444;
      color: white;
      font-size: 0.7rem;
      padding: 0.25rem 0.5rem;
      border-radius: 5px;
      margin-left: 0.5rem;
      height: fit-content;
    }

    .cate-search-filter-bar {
      background: white;
      /*border-radius: 12px;*/
      /*padding: 1.5rem;*/
      margin-bottom: 2rem;
      /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    }

    .cate-search-input {
      border-radius: 8px;
      border: 1px solid #e2e8f0;
      padding: 0.75rem 1rem;
      font-size: 0.95rem;
    }

    .cate-search-input:focus {
      border-color: white !important;
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
      outline: none;
    }

    .cate-sort-select {
      border-radius: 8px;
      border: 1px solid #e2e8f0;
      padding: 0.75rem 1rem;
      font-size: 0.95rem;
    }

    .cate-sort-select:focus {
      border-color: white !important;
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
      outline: none;
    }

    .cate-results-count {
      color: var(--ch-blue);
      font-size: 0.95rem;
    }

    /* EveryCalcHub Unique Classes - About Page */
    .ch-section {
      padding: 5rem 0;
      position: relative;
    }

    .ch-about-hero {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;
      color: white;
      padding: 6rem 0 5rem;
    }

    .ch-badge {
      display: inline-block;
      padding: 0.5rem 1.25rem;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50px;
      font-size: 0.875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1.5rem;
      backdrop-filter: blur(10px);
    }

    .ch-title-xl {
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      letter-spacing: -0.02em;
    }

    .ch-text-gradient {
      background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .ch-lead {
      font-size: 1rem;
      line-height: 1.7;
      color: rgba(255, 255, 255, 0.85) !important;
      margin: 0 auto;
      font-weight: 400;
    }

    .ch-mission {
      background: #fafbfc;
    }

    .ch-content-block {
      padding: 2rem;
    }

    .ch-title-lg {
      font-size: 2.25rem;
      font-weight: 700;
      color: var(--ch-ink);
      margin-bottom: 1.5rem;
      line-height: 1.3;
    }

    .ch-text {
      font-size: 1.125rem;
      line-height: 1.8;
      color: var(--ch-muted);
      margin-bottom: 2rem;
    }

    .ch-feature-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .ch-feature-list li {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0.75rem 0;
      font-size: 1.1rem;
      color: var(--ch-ink);
      font-weight: 500;
    }

    .ch-icon-wrap {
      width: 28px;
      height: 28px;
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.875rem;
      flex-shrink: 0;
    }

    .ch-visual-card {
      background: white;
      border-radius: var(--ch-radius);
      padding: 3rem;
      box-shadow: 0 20px 40px var(--ch-shadow-sm);
      border: 1px solid var(--ch-border);
    }

    .ch-stat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      text-align: center;
    }

    .ch-stat-number {
      display: block;
      font-size: 2.5rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
      margin-bottom: 0.5rem;
    }

    .ch-stat-label {
      font-size: 0.95rem;
      color: var(--ch-muted);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .ch-values {
      background: white;
    }

    .ch-subtitle {
      font-size: 1.25rem;
      color: var(--ch-muted);
      margin-top: -1rem;
      margin-bottom: 3rem;
    }

    .ch-value-card {
      padding: 2.5rem 2rem;
      background: white;
      border-radius: var(--ch-radius);
      border: 1px solid var(--ch-border);
      transition: all 0.3s ease;
      height: 100%;
      text-align: center;
    }

    .ch-value-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px var(--ch-shadow-sm);
      border-color: var(--ch-blue);
    }

    .ch-value-icon {
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, rgba(12,42,124,0.1) 0%, rgba(11,95,154,0.1) 100%);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
      font-size: 2rem;
      color: var(--ch-blue);
      transition: all 0.3s ease;
    }

    .ch-value-card:hover .ch-value-icon {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      color: white;
      transform: scale(1.1);
    }

    .ch-value-card h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--ch-ink);
      margin-bottom: 1rem;
    }

    .ch-value-card p {
      color: var(--ch-muted);
      line-height: 1.7;
      margin: 0;
    }

    /* Team Section Styles */
    .ch-team {
      background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
      border-top: 1px solid var(--ch-border);
    }

    .ch-section-badge {
      display: inline-block;
      padding: 0.5rem 1.25rem;
      background: linear-gradient(135deg, rgba(12,42,124,0.1) 0%, rgba(11,95,154,0.1) 100%);
      color: var(--ch-blue);
      border-radius: 50px;
      font-size: 0.875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1rem;
    }

    .ch-team-card {
      background: white;
      border-radius: var(--ch-radius);
      overflow: hidden;
      border: 1px solid var(--ch-border);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      height: 100%;
      position: relative;
    }

    .ch-team-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 25px 50px -12px var(--ch-shadow);
      border-color: transparent;
    }

    .ch-team-avatar {
      position: relative;
      width: 100%;
      height: 280px;
      overflow: hidden;
      background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    }

    .ch-team-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .ch-team-card:hover .ch-team-avatar img {
      transform: scale(1.05);
    }

    .ch-team-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg, transparent 0%, rgba(12,42,124,0.9) 100%);
      opacity: 0;
      transition: all 0.4s ease;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 2rem;
    }

    .ch-team-card:hover .ch-team-overlay {
      opacity: 1;
    }

    .ch-social-team {
      display: flex;
      gap: 0.75rem;
      transform: translateY(20px);
      transition: transform 0.4s ease;
    }

    .ch-team-card:hover .ch-social-team {
      transform: translateY(0);
    }

    .ch-social-icon {
      width: 40px;
      height: 40px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ch-blue);
      text-decoration: none;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .ch-social-icon:hover {
      background: var(--ch-blue);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 8px 12px rgba(0,0,0,0.2);
    }

    .ch-team-info {
      padding: 1.75rem;
      text-align: center;
    }

    .ch-team-name {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--ch-ink);
      margin-bottom: 0.25rem;
      letter-spacing: -0.01em;
    }

    .ch-team-role {
      display: block;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--ch-blue);
      margin-bottom: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .ch-team-bio {
      font-size: 0.95rem;
      color: var(--ch-muted);
      line-height: 1.6;
      margin: 0;
    }

    .ch-team-cta {
      margin-top: 4rem;
    }

    .ch-cta-box {
      background: linear-gradient(135deg, var(--ch-ink) 0%, var(--ch-blue) 100%);
      border-radius: var(--ch-radius);
      padding: 3rem 2rem;
      color: white;
      max-width: 600px;
      margin: 0 auto;
      position: relative;
      overflow: hidden;
    }

    .ch-cta-box::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
      animation: ch-pulse 4s ease-in-out infinite;
    }

    @keyframes ch-pulse {
      0%, 100% { transform: scale(1); opacity: 0.5; }
      50% { transform: scale(1.1); opacity: 0.8; }
    }

    .ch-cta-box h3 {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      position: relative;
      z-index: 1;
    }

    .ch-cta-box p {
      font-size: 1.1rem;
      opacity: 0.9;
      margin-bottom: 1.5rem;
      position: relative;
      z-index: 1;
    }

    .ch-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.875rem 2rem;
      background: white;
      color: var(--ch-blue);
      text-decoration: none;
      border-radius: 10px;
      font-weight: 600;
      transition: all 0.3s ease;
      position: relative;
      z-index: 1;
      border: 2px solid transparent;
    }

    .ch-btn-primary:hover {
      background: transparent;
      color: white;
      border-color: white;
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    @media (max-width: 768px) {
      .ch-section {
        padding: 3rem 0;
      }
      .ch-stat-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      .ch-visual-card {
        padding: 2rem;
      }
      .ch-team-avatar {
        height: 240px;
      }
      .ch-cta-box {
        padding: 2rem 1.5rem;
      }
    }

    /* EveryCalcHub Unique Classes - Contact Page */
    .ch-contact-hero {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;
      padding: 5rem 0 3rem;
      border-bottom: 1px solid var(--ch-border);
    }

    .ch-badge-light {
      display: inline-block;
      padding: 0.5rem 1.25rem;
      background: rgba(12,42,124,0.1);
      border: 1px solid rgba(12,42,124,0.2);
      border-radius: 50px;
      font-size: 0.875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1.5rem;
      color: var(--ch-blue);
    }

    .ch-dark {
      color: var(--ch-ink) !important;
    }

    .ch-lead-dark {
      font-size: 1.25rem;
      line-height: 1.7;
      color: var(--ch-muted);
      max-width: 500px;
      margin: 0 auto;
    }

    .ch-contact-main {
      background: #fafbfc;
      padding: 4rem 0;
    }

    .ch-contact-info {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .ch-info-card {
      background: white;
      padding: 2rem;
      border-radius: var(--ch-radius);
      border: 1px solid var(--ch-border);
      transition: all 0.3s ease;
    }

    .ch-info-card:hover {
      box-shadow: 0 10px 30px var(--ch-shadow-sm);
      transform: translateY(-2px);
    }

    .ch-info-icon {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
      margin-bottom: 1.25rem;
    }

    .ch-info-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--ch-ink);
      margin-bottom: 0.5rem;
    }

    .ch-info-card p {
      color: var(--ch-muted);
      font-size: 0.95rem;
      margin-bottom: 0.5rem;
    }

    .ch-link {
      color: var(--ch-blue);
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      transition: color 0.2s;
    }

    .ch-link:hover {
      color: var(--ch-blue-dark);
      text-decoration: underline;
    }

    .ch-highlight {
      display: inline-block;
      background: linear-gradient(135deg, rgba(12,42,124,0.1) 0%, rgba(11,95,154,0.1) 100%);
      color: var(--ch-blue);
      padding: 0.5rem 1rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
    }

    .ch-social-block {
      background: white;
      padding: 2rem;
      border-radius: var(--ch-radius);
      border: 1px solid var(--ch-border);
      text-align: center;
    }

    .ch-social-block h4 {
      font-size: 1rem;
      font-weight: 600;
      color: var(--ch-muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 1.25rem;
    }

    .ch-social-links {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }

    .ch-social-btn {
      width: 45px;
      height: 45px;
      border-radius: 12px;
      background: #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ch-ink);
      font-size: 1.25rem;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .ch-social-btn:hover {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(12,42,124,0.2);
    }

    .ch-form-container {
      background: white;
      padding: 3rem;
      border-radius: var(--ch-radius);
      box-shadow: 0 10px 40px var(--ch-shadow-sm);
      border: 1px solid var(--ch-border);
    }

    .ch-form-group {
      margin-bottom: 0.5rem;
    }

    .ch-label {
      display: block;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--ch-ink);
      margin-bottom: 0.75rem;
    }

    .ch-input,
    .ch-select,
    .ch-textarea {
      width: 100%;
      padding: 1rem 1.25rem;
      border: 2px solid #e2e8f0;
      border-radius: 12px;
      font-size: 1rem;
      color: var(--ch-ink);
      background: #fafbfc;
      transition: all 0.3s ease;
      font-family: inherit;
    }

    .ch-input:focus,
    .ch-select:focus,
    .ch-textarea:focus {
      outline: none;
      border-color: var(--ch-blue);
      background: white;
      box-shadow: 0 0 0 4px rgba(12,42,124,0.1);
    }

    .ch-input::placeholder,
    .ch-textarea::placeholder {
      color: #94a3b8;
    }

    .ch-select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230c2a7c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      padding-right: 3rem;
      cursor: pointer;
    }

    .ch-textarea {
      resize: vertical;
      min-height: 150px;
    }

    .ch-btn-submit {
      width: 100%;
      padding: 1rem 2rem;
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      color: white;
      border: none;
      border-radius: 12px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(12,42,124,0.3);
    }

    .ch-btn-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(12,42,124,0.4);
    }

    .ch-btn-submit:active {
      transform: translateY(0);
    }

    /* FAQ Section Styles */
    .ch-faq {
      background: white;
      padding: 5rem 0;
      border-top: 1px solid var(--ch-border);
    }

    .ch-faq-badge {
      display: inline-block;
      padding: 0.5rem 1.25rem;
      background: linear-gradient(135deg, rgba(12,42,124,0.1) 0%, rgba(11,95,154,0.1) 100%);
      color: var(--ch-blue);
      border-radius: 50px;
      font-size: 0.875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1rem;
    }

    .ch-title-lg {
      font-size: 2.25rem;
      font-weight: 700;
      color: var(--ch-ink);
      margin-bottom: 1rem;
      line-height: 1.3;
    }

    .ch-subtitle {
      font-size: 1.25rem;
      color: var(--ch-muted);
      margin-bottom: 3rem;
    }

    .ch-accordion {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .ch-accordion-item {
      background: white;
      border: 1px solid var(--ch-border);
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .ch-accordion-item:hover {
      border-color: rgba(12,42,124,0.3);
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .ch-accordion-header {
      width: 100%;
      padding: 1.5rem;
      background: white;
      border: none;
      display: flex;
      align-items: center;
      gap: 1rem;
      text-align: left;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
    }

    .ch-accordion-header:hover {
      background: #fafbfc;
    }

    .ch-accordion-icon {
      width: 45px;
      height: 45px;
      background: linear-gradient(135deg, rgba(12,42,124,0.1) 0%, rgba(11,95,154,0.1) 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ch-blue);
      font-size: 1.25rem;
      flex-shrink: 0;
      transition: all 0.3s ease;
    }

    .ch-accordion-header:hover .ch-accordion-icon {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%);
      color: white;
      transform: scale(1.1);
    }

    .ch-accordion-title {
      flex: 1;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--ch-ink);
      padding-right: 2rem;
    }

    .ch-accordion-arrow {
      width: 32px;
      height: 32px;
      background: #f1f5f9;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ch-muted);
      transition: all 0.3s ease;
      flex-shrink: 0;
    }

    .ch-accordion-header:not(.collapsed) .ch-accordion-arrow {
      background: var(--ch-blue);
      color: white;
      transform: rotate(180deg);
    }

    .ch-accordion-collapse {
      background: #fafbfc;
    }

    .ch-accordion-body {
      padding: 1.5rem;
      padding-left: 5.5rem;
      color: var(--ch-muted);
      line-height: 1.8;
      font-size: 1rem;
    }

    .ch-accordion-body p {
      margin: 0;
    }

    /* FAQ Footer */
    .ch-faq-footer {
      margin-top: 4rem;
    }

    .ch-faq-box {
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      border: 2px dashed var(--ch-border);
      border-radius: var(--ch-radius);
      padding: 3rem 2rem;
      max-width: 500px;
      margin: 0 auto;
      text-align: center;
    }

    .ch-faq-icon {
      font-size: 3rem;
      color: var(--ch-blue);
      margin-bottom: 1rem;
      opacity: 0.8;
    }

    .ch-faq-box h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--ch-ink);
      margin-bottom: 0.5rem;
    }

    .ch-faq-box p {
      color: var(--ch-muted);
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
    }

    .ch-btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.875rem 2rem;
      border: 2px solid var(--ch-blue);
      color: var(--ch-blue);
      text-decoration: none;
      border-radius: 10px;
      font-weight: 600;
      transition: all 0.3s ease;
      background: transparent;
      cursor: pointer;
    }

    .ch-btn-outline:hover {
      background: var(--ch-blue);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(12,42,124,0.2);
    }

    @media (max-width: 768px) {
      .ch-form-container {
        padding: 2rem 1.5rem;
      }
      .ch-info-card,
      .ch-social-block {
        padding: 1.5rem;
      }
      .ch-accordion-body {
        padding-left: 1.5rem;
      }
      .ch-accordion-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
      }
      .ch-faq-box {
        padding: 2rem 1.5rem;
      }
    }


    /*Main Calculator*/

    /* Calculator */
    .calc-container{
      perspective:1000px;
      animation: float 6s ease-in-out infinite;
    }
    @keyframes float{
      0%{ transform:translateY(0); }
      50%{ transform:translateY(-10px); }
      100%{ transform:translateY(0); }
    }

    .calc-body{
      background: rgba(30,41,59,.7);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,.1);
      box-shadow: 0 25px 50px -12px rgba(0,0,0,.5), inset 0 0 20px rgba(255,255,255,.05);
      border-radius:24px;
      overflow:hidden;
      padding: 1.5rem;
      display:flex;
      flex-direction:column;
    }

    .calc-screen{
      background:#0f172a;
      font-family:'Space Mono', monospace;
      box-shadow: inset 0 2px 4px rgba(0,0,0,.5);
      min-height:80px;
      border-radius:14px;
      padding: 1rem;
      margin-bottom: 1.25rem;
      position:relative;
      overflow:hidden;
      text-align:right;
      display:flex;
      flex-direction:column;
      justify-content:center;
    }
    #previous-operand{
      color:#94a3b8;
      font-size:.85rem;
      height: 1.25rem;
      overflow:hidden;
      font-family:'Space Mono', monospace;
    }
    #current-operand{
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight:800;
      letter-spacing:.04em;
      white-space:nowrap;
      overflow-x:auto;
    }
    .scanline{
      position:absolute; inset:0;
      background: linear-gradient(to bottom, transparent, rgba(255,255,255,.06), transparent);
      opacity:.20;
      pointer-events:none;
      background-size:100% 4px;
    }

    /* Button base */
    .calc-btn{
      width:100%;
      border-radius:10px;
      font-weight:700;
      position:relative;
      overflow:hidden;
      transition: all .15s cubic-bezier(.4,0,.2,1);
      border: 1px solid transparent;
      padding: .70rem .35rem;
      line-height:1;
      user-select:none;
    }
    .calc-btn::after{
      content:'';
      position:absolute;
      top:50%; left:50%;
      width:0; height:0;
      background: rgba(255,255,255,.20);
      border-radius:50%;
      transform: translate(-50%,-50%);
      transition: width .3s, height .3s;
    }
    .calc-btn:active::after{ width:200%; height:200%; }
    .calc-btn:active{ transform:scale(.95); }

    /* Button color variants */
    .btn-darkish{
      background: rgba(15,23,42,.8);
      color:#fff;
      border-color: rgba(255,255,255,.10);
    }
    .btn-darkish:hover{ background: rgba(30,41,59,.9); }

    .btn-cyanish{
      background: rgba(34,211,238,.20);
      color:#22d3ee;
      border-color: rgba(34,211,238,.30);
    }
    .btn-cyanish:hover{ background: rgba(34,211,238,.30); }

    .btn-orangish{
      background: rgba(251,146,60,.90);
      color:#fff;
      border-color: rgba(251,146,60,.50);
    }
    .btn-orangish:hover{ background: rgba(251,146,60,1); }

    /* 9-col keypad using CSS Grid */
    .keypad{
      display:grid;
      grid-template-columns: repeat(9, minmax(0, 1fr));
      gap:.5rem;
    }
    .col-span-3{ grid-column: span 3; }
    .invisible-btn{ visibility:hidden; }

    /* Small tweaks */
    .muted-text{ color:#94a3b8; }
    .divider{
      border-top: 1px solid rgba(30,41,59,.6);
      margin-top: 1.5rem;
      padding-top: 1.5rem;
    }

    @media (max-width: 991.98px){
      .calc-body{ max-width: 100%; }
    }

    .calc-c-btn-group {
      display: inline-flex;
      gap: 8px;
      align-items: center;
    }

    .calc-c-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 8px 14px;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      background-color: #ffffff;
      color: #374151;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.15s ease;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .calc-c-btn:hover {
      background-color: #f9fafb;
      border-color: #9ca3af;
    }

    .calc-c-btn:active {
      background-color: #f3f4f6;
      transform: translateY(1px);
    }

    .calc-c-btn-icon {
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .calc-c-btn-icon svg {
      width: 100%;
      height: 100%;
      fill: currentColor;
    }

    .calc-c-btn-text {
      line-height: 1;
    }

    .calc-c-divider {
      width: 1px;
      height: 20px;
      background-color: #e5e7eb;
      margin: 0 4px;
    }

    .calc-c-btn-vote {
      padding: 8px 12px;
    }

    .calc-c-btn-vote-group {
      display: inline-flex;
      align-items: center;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      background-color: #ffffff;
      overflow: hidden;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .calc-c-btn-vote-up,
    .calc-c-btn-vote-down {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 12px;
      border: none;
      background-color: transparent;
      color: #6b7280;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .right-side{
      padding-top: 30px;
    }
    .calc-c-btn-vote-up:hover,
    .calc-c-btn-vote-down:hover {
      background-color: #f9fafb;
      color: #374151;
    }

    .calc-c-btn-vote-count {
      font-size: 14px;
      font-weight: 400;
      color: #374151;
    }


    /*Calculator page css*/
    /* Main Layout */
    .main-container {
      margin-top: 3rem;
      margin-bottom: 3rem;
      position: relative;
      z-index: 10;
    }
    .calc-mains{
      position: sticky;
      top: 100px; /* header ke according adjust */
      height: fit-content;
    }
    /* Calculator Card */
    .calculator-cards {
      background: white;
      border-radius: var(--ch-radius);
      box-shadow: 0 4px 20px #1b26351c;
      border: 1px solid var(--ch-border);
      overflow: hidden;
    }

    .calc-header {
      background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
      padding: 1.5rem 2rem;
      border-bottom: 1px solid var(--ch-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .calc-title {
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--ch-ink);
      margin: 0;
    }

    .calc-actions {
      display: flex;
      gap: 0.5rem;
    }

    .btn-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      border: 1px solid var(--ch-border);
      background: white;
      color: var(--ch-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-icon:hover {
      background: var(--ch-blue);
      color: white;
      border-color: var(--ch-blue);
    }

    .calc-bodys {
      padding: 2rem;
    }

    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-label {
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--ch-ink);
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .info-icon {
      color: var(--ch-muted);
      font-size: 0.875rem;
      cursor: help;
    }

    .input-group-custom {
      position: relative;
    }

    .form-control-custom {
      width: 100%;
      padding: 0.875rem 1rem;
      border: 2px solid var(--ch-border);
      border-radius: 10px;
      font-size: 1rem;
      transition: all 0.3s;
      background: #fafbfc;
    }

    .form-control-custom:focus {
      outline: none;
      border-color: var(--ch-blue);
      background: white;
      box-shadow: 0 0 0 4px rgba(12, 42, 124, 0.08);
    }

    .input-unit {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--ch-blue);
      font-weight: 600;
      font-size: 0.875rem;
    }

    /* Results Section */
    .results-section {
      background: linear-gradient(135deg, var(--ch-blue) 0%, var(--ch-blue-dark) 100%) !important;;
      color: white;
      padding: 2rem;
      border-radius: 10px;
    }

    .result-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      text-align: center;
    }

    .result-label {
      font-size: 0.875rem;
      opacity: 0.9;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 0.5rem;
    }

    .result-value {
      font-size: 2rem;
      font-weight: 700;
    }

    .result-highlight {
      font-size: 1.5rem;
      color: #ffd700;
    }

    /* Action Buttons */
    .action-buttons {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-top: 2rem;
    }

    

    .btn-secondary-custom {
      background: white;
      color: var(--ch-ink);
      border: 2px solid var(--ch-border);
      padding: 1rem 2rem;
      border-radius: 10px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-secondary-custom:hover {
      border-color: var(--ch-blue);
      color: var(--ch-blue);
    }

    /* Content Sections */
    .content-section {
      background: white;
      border-radius: var(--ch-radius);
      padding: 2.5rem;
      margin-top: 2rem;
      box-shadow: 0 4px 20px #1b26351c;
    }



    .content-text {
      color: black;
      font-size: 0.95rem;
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }

    .highlight-box {
      background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
      border-left: 4px solid var(--ch-blue);
      padding: 1.5rem;
      border-radius: 0 10px 10px 0;
      margin: 1.5rem 0;
    }

    /* Table of Contents */
    .toc-card {
      background: white;
      border-radius: var(--ch-radius);
      padding: 1.5rem;
      box-shadow: 0 4px 20px #1b26351c;

    }

    .toc-title {
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 1rem;
      color: var(--ch-ink);
    }

    .toc-list {
      list-style: none;
      padding: 0;
    }

    .toc-item {
      padding: 0.5rem 0;
      border-bottom: 1px solid var(--ch-border);
    }

    .toc-item:last-child {
      border-bottom: none;
    }

    .toc-link {
      color: var(--ch-muted);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.3s;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .toc-link:hover {
      color: var(--ch-blue);
    }

    .toc-link::before {
      content: '•';
      color: var(--ch-blue);
      font-weight: bold;
    }

    /* Similar Calculators */
    .similar-card {
      background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
      border-radius: var(--ch-radius);
      padding: 1.5rem;
      margin-top: 2rem;
      border: 1px solid #ffeaa7;
    }

    .similar-title {
      font-weight: 700;
      color: var(--ch-ink);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.4rem;
    }

    .similar-list {
      list-style: none;
      padding: 0;
    }

    .similar-item {
      padding: 0.75rem 0;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .similar-link {
      color: var(--ch-blue);
      text-decoration: none;
      font-weight: 500;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .similar-link:hover {
      text-decoration: underline;
    }

    /* Formula Box */
    .formula-box {
      background: #f8f9fa;
      border-radius: 10px;
      padding: 2rem;
      text-align: center;
      margin: 2rem 0;
      border: 2px dashed var(--ch-border);
    }

    .formula-text {
      font-family: 'Courier New', monospace;
      font-size: 1.25rem;
      color: var(--ch-blue);
      font-weight: 600;
    }

    /* Engagement Bar */
    .engagement-bar {
      display: flex;
      gap: 1rem;
      margin-top: 2rem;
      padding-top: 2rem;
      border-top: 1px solid var(--ch-border);
    }

    .engagement-btn {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      border: 1px solid var(--ch-border);
      border-radius: 8px;
      background: white;
      color: var(--ch-muted);
      font-size: 0.875rem;
      cursor: pointer;
      transition: all 0.3s;
    }

    .engagement-btn:hover {
      border-color: var(--ch-blue);
      color: var(--ch-blue);
    }

    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    @media (max-width: 991px) {
      .result-grid { grid-template-columns: 1fr; gap: 1rem; }
      .action-buttons { grid-template-columns: 1fr; }
    }

    @media (max-width: 576px) {
      .hero-title { font-size: 1.5rem; }
      .calc-bodys { padding: 1.5rem; }
      .results-section { padding: 1.5rem; }
      .calc-mains{
        position: revert;
      }
      .calcss h1{
        font-size: 1.5rem;
      }
      .calcss{
        padding: 0px 22px;
      }
    }

    .val{
      font-size: 16px;
    }

    b, strong {
      font-weight: 600 !important;
    }
    .toc-title-faq {
      font-weight: 700;
      font-size: 1rem;
      margin-bottom: 1rem;
      color: var(--ch-ink);
    }