/* RESPONSIVE.CSS — Pixel-by-pixel from landing page — v1.9.8 */

@media (max-width:1024px){
  .nav-inner{padding:0 1.25rem;gap:1rem}
  .nav-links{position:absolute;top:100%;right:0;left:0;background:#fff;flex-direction:column;gap:0;padding:.5rem 1.25rem 1rem;box-shadow:0 16px 36px rgba(14,42,92,.14);border-bottom:1px solid var(--border);display:none;max-height:calc(100vh - 70px);overflow-y:auto}
  .nav-links a{padding:13px 6px;border-bottom:1px solid var(--light);border-radius:0}
  .has-mega .mega-menu{position:static;opacity:1;pointer-events:all;transform:none!important;width:100%;box-shadow:none;border:none;padding:.2rem 0 .8rem;margin:0}
  .mega-inner{grid-template-columns:repeat(2,1fr);gap:1.2rem}
  .hamburger{display:flex}

  .hero{min-height:auto;padding:3.5rem 0}
  .hero-inner{max-width:640px}
  .hero h1{font-size:2.15rem}
  .hero p{font-size:14.5px;max-width:100%}
  .hero-stats.glass{max-width:100%}

  .split-inner{grid-template-columns:1fr;gap:2rem;text-align:center}
  .split-text{text-align:center}
  .split-text h1{font-size:2.1rem}
  .split-text p{margin-left:auto;margin-right:auto}
  .split-img img{height:320px}
  .hero-badge{margin-left:auto;margin-right:auto}

  .stats-inner{grid-template-columns:repeat(2,1fr)}
  .stat-item{border-left:none!important;border-bottom:1px solid var(--border)}
  .stat-item:nth-child(odd){border-left:1px solid var(--border)!important}

  /* v1.9.8: Override !important on pgrid-cols-* / ngrid-cols-* at tablet */
  .pgrid,.pgrid-cols-2,.pgrid-cols-3,.pgrid-cols-4,.pgrid-cols-5,.pgrid-cols-6{grid-template-columns:repeat(2,1fr)!important}
  .fgrid{grid-template-columns:1fr}
  .ngrid,.ngrid-cols-2,.ngrid-cols-3{grid-template-columns:repeat(2,1fr)!important}
  .cert-gallery{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr 1fr;gap:2.2rem}

  .sec{padding:3.5rem 0}
  .sec-header h2{font-size:1.85rem}
  .cta-section h2{font-size:2.1rem}

  /* v1.9.8: Better tablet card styles */
  .pcard-body{padding:1.1rem}
  .pcard-body h3{font-size:14px}
  .pcard-body p{font-size:12.5px;min-height:auto}
  .pimg-wrap{height:160px}

  .nbody{padding:1rem}
  .nbody h3{font-size:13.5px}
  .nimg{height:140px}

  .chat-win{width:340px}
  .bottom-nav{display:flex}
}

@media (max-width:640px){
  .topbar-inner{width:100%;flex-direction:row;justify-content:space-between;gap:0;padding:.5rem 1.25rem;font-size:11px;direction:rtl}
  .topbar-right{gap:0;justify-content:flex-start}
  .topbar-left{gap:.5rem;justify-content:flex-end}
  .topbar-sep{font-size:10px;margin:0 2px}
  .nav-inner{height:62px;padding:0 1rem;flex-wrap:nowrap}
  .nav-pos-right .nav-inner,.nav-pos-left .nav-inner,.nav-pos-center .nav-inner{justify-content:flex-start}
  .nav-pos-right .logo,.nav-pos-left .logo,.nav-pos-center .logo{order:1;margin:0}
  .nav-pos-right .nav-links{order:2}
  .nav-pos-right .nav-ctas{order:3}
  .nav-ctas .btn-primary{padding:8px 14px;font-size:12px}
  .mega-inner{grid-template-columns:1fr;gap:.8rem}

  .side-cta{display:none}

  .hero{padding:2.8rem 0}
  .hero-inner{padding:0 1.25rem;max-width:100%}
  .hero-badge{font-size:11.5px;padding:6px 14px}
  .hero h1{font-size:1.7rem;margin-bottom:.9rem}
  .hero p{font-size:13.5px;line-height:1.85;margin-bottom:1.6rem}
  .hero-btns .btn-lg{width:100%;justify-content:center}
  .hero-stats.glass{gap:1rem 1.4rem;padding:1rem 1.1rem}
  .hstat-num{font-size:1.4rem}
  .hstat-label{font-size:10.5px}
  .hstat-divider{height:36px}

  .split-sec{padding:3rem 0}
  .split-inner{padding:0 1.25rem}
  .split-img img{height:220px}
  .split-text h1{font-size:1.65rem}
  .split-text p{font-size:13.5px}
  .split-text .btn-lg{width:100%;justify-content:center}

  .sec-inner{padding:0 1.25rem}
  .sec-header{margin-bottom:2.2rem}
  .sec-header h2{font-size:1.55rem}
  .sec-header p{font-size:13.5px}

  .stats-inner{grid-template-columns:1fr 1fr}
  .stat-num{font-size:2rem}
  .stat-item{padding:1.3rem 1rem}

  /* v1.9.8: Override !important on pgrid-cols-* / ngrid-cols-* at mobile — force single column */
  .pgrid,.pgrid-cols-2,.pgrid-cols-3,.pgrid-cols-4,.pgrid-cols-5,.pgrid-cols-6{grid-template-columns:1fr!important}
  .ngrid,.ngrid-cols-2,.ngrid-cols-3{grid-template-columns:1fr!important}

  /* v1.9.8: Improved mobile product card styles */
  .pcard{border-radius:16px}
  .pimg-wrap{height:180px}
  .pcard-body{padding:1.2rem}
  .pcard-body h3{font-size:16px;font-weight:700;margin-bottom:6px;line-height:1.5}
  .pcard-body p{font-size:13.5px;line-height:1.7;min-height:auto}
  .pcard-footer{flex-direction:row;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
  .pbtn{padding:10px 10px;font-size:13px;border-radius:10px;min-height:44px}
  .ptag{font-size:10.5px;padding:4px 11px;top:10px;right:10px}
  .pcard-price{font-size:16px}

  /* v1.9.8: Improved mobile news card styles */
  .ncard{border-radius:16px}
  .nimg{height:160px}
  .nimg-bg{font-size:2.5rem}
  .nbody{padding:1.2rem}
  .nbody h3{font-size:15px;font-weight:700;line-height:1.6;margin-bottom:8px}
  .nbody p{font-size:13px;line-height:1.7}
  .nbody-footer{margin-top:12px;padding-top:10px;border-top:1px solid var(--border)}
  .ndate{font-size:12px}
  .nmore{font-size:13px}
  .ncategory{font-size:10.5px;padding:4px 10px;bottom:10px;right:10px}

  .fcard{flex-direction:column;text-align:center}
  .fcard .ficon{margin:0 auto}
  .cert-gallery{grid-template-columns:1fr 1fr;gap:1rem;max-width:100%}
  .cert-card{min-width:0}

  .litem{width:110px;height:70px;margin:0 6px;padding:8px}
  .litem img{max-width:85%;max-height:85%}
  .logos-outer::before,.logos-outer::after{width:60px}

  .cta-section{padding:3.5rem 0}
  .cta-inner{padding:0 1.25rem}
  .cta-section h2{font-size:1.7rem}
  .cta-btns{flex-direction:column}
  .cta-btns .btn{width:100%;justify-content:center}

  .footer-inner{grid-template-columns:1fr;gap:0;text-align:center;padding:0 1.25rem}
  .flogo,.social-links,.trust-badges{justify-content:center}
  .fdesc{margin:0 auto 1.2rem;max-width:320px}
  .footer-inner>div:first-child{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.08)}
  .facc{border-bottom:1px solid rgba(255,255,255,.08);padding:.9rem 0;text-align:right}
  .facc:last-child{border-bottom:none}
  .facc summary{cursor:pointer;pointer-events:auto;display:flex;align-items:center;justify-content:space-between;margin-bottom:0}
  .facc summary::after{content:'+';font-size:19px;font-weight:400;color:rgba(255,255,255,.45);line-height:1}
  .facc[open] summary::after{content:'-'}
  .facc[open] summary{margin-bottom:1rem}
  .facc ul{align-items:flex-start}
  .footer-bottom{flex-direction:column;text-align:center;padding:1.2rem 1.25rem}

  .mbox{border-radius:18px;max-height:96vh}
  .m-header,.m-body{padding-left:1.3rem;padding-right:1.3rem}
  .mgrid-2{grid-template-columns:1fr}

  .chat-win{width:calc(100vw - 32px);left:16px;bottom:96px;max-height:70vh}
  .chat-fab{bottom:20px;left:16px}
  .chat-toggle{width:56px;height:56px}

  .cgrid{gap:.8rem}
  .cert-card{padding:1.1rem 1.3rem}
}
