/*
Theme Name: PakTech Leaders
Theme URI: https://paktechleaders.server2.purelogics.net/
Author: Tayyab
Description: Custom one-page WordPress theme for PakTech Leaders, converted from a static HTML design. Includes animated hero particles, an interactive ecosystem diagram, and a testimonials carousel.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paktech-leaders
*/

  :root{
    --emerald:#10B981;
    --neon:#22C55E;
    --cyan:#22D3EE;
    --lime:#A3E635;
    --accent-text:#0E9F6E;
    --bg:#FFFFFF;
    --bg-soft:#F7FAF9;
    --text-1:#0B1220;
    --font-display:'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body:'Inter', sans-serif;
    --grad: linear-gradient(90deg, var(--emerald), var(--neon));
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text-1);
    font-family:var(--font-body);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
  }
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  img{max-width:100%; display:block;}
  button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit;}
  input{font-family:inherit;}

  .container{max-width:1320px; margin:0 auto; padding:0 32px;}
  section{position:relative;}

  /* ---------- Typography ---------- */
  .eyebrow{
    font-family:var(--font-body);
    font-size:12.5px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--accent-text);
  }
  h1,h2,h3{font-family:var(--font-display); font-weight:800; line-height:1.05; letter-spacing:-0.02em; color:var(--text-1);}
  h2{font-size:clamp(32px,4.2vw,52px); font-weight:800;}
  p{color:rgba(15,23,42,.62); line-height:1.6;}

  .section-head{text-align:center; max-width:640px; margin:0 auto 56px; display:flex; flex-direction:column; align-items:center; gap:18px;}

  /* ---------- Reveal on scroll ---------- */
  .reveal{opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in-view{opacity:1; transform:translateY(0);}

  /* ---------- Glass / Cards ---------- */
  .glass{
    background:rgba(15,23,42,0.025);
    border:1px solid rgba(15,23,42,0.08);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  .card{
    border-radius:24px;
    padding:32px 28px;
    transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
  }
  .card:hover{
    transform:translateY(-6px);
    border-color:rgba(16,185,129,.5);
    background:rgba(16,185,129,.03);
    box-shadow:0 24px 50px rgba(15,23,42,.10), 0 0 36px rgba(16,185,129,.14);
  }
  .icon-tile{
    width:52px; height:52px; border-radius:14px;
    background:linear-gradient(135deg,var(--emerald),var(--cyan));
    margin-bottom:18px;
    display:flex; align-items:center; justify-content:center;
    font-size:22px;
  }

  /* ---------- Buttons ---------- */
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:15px 30px; border-radius:100px;
    font-family:var(--font-display); font-weight:600; font-size:15px;
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--grad); color:#05070A;
  }
  .btn-primary:hover{
    box-shadow:0 10px 34px rgba(16,185,129,.35);
    transform:translateY(-2px);
  }
  .btn-secondary{
    background:rgba(15,23,42,.035); color:var(--text-1);
    border:1px solid rgba(15,23,42,.14);
  }
  .btn-secondary:hover{background:rgba(15,23,42,.07); transform:translateY(-2px);}
  .btn-ghost{background:rgba(16,185,129,.08); color:var(--accent-text); border:1px solid rgba(16,185,129,.35);}
  .btn-ghost:hover{background:rgba(16,185,129,.16);}
  .btn-sm{padding:11px 20px; font-size:14px;}
  .btn-block{width:100%;}

  /* ================= NAVBAR ================= */
  #navbar{
    position:fixed; top:0; left:0; right:0; z-index:1000;
    padding:18px 0;
    transition:background .35s ease, border-color .35s ease, padding .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
    border-bottom:1px solid transparent;
  }
  #navbar.scrolled{
    background:rgba(255,255,255,.78);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-bottom-color:rgba(15,23,42,.07);
    box-shadow:0 4px 24px rgba(15,23,42,.05);
    padding:12px 0;
  }
  .nav-inner{display:flex; align-items:center; justify-content:space-between; gap:24px;}
  .logo{display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:18px; color:var(--text-1);}
  .logo-mark{width:34px; height:34px; border-radius:10px; background:linear-gradient(135deg,var(--neon),var(--cyan)); flex-shrink:0;}
  .nav-links{display:flex; align-items:center; gap:34px;}
  .nav-links a{font-size:14.5px; font-weight:500; color:rgba(15,23,42,.62); position:relative; padding:4px 0; transition:color .2s ease;}
  .nav-links a:hover{color:var(--text-1);}
  .nav-links a::after{
    content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px;
    background:var(--grad); transition:width .25s ease;
  }
  .nav-links a:hover::after{width:100%;}
  .nav-cta{display:flex; align-items:center; gap:14px;}
  .hamburger{display:none; flex-direction:column; gap:5px; width:26px; z-index:1001;}
  .hamburger span{height:2px; width:100%; background:var(--text-1); border-radius:2px; transition:transform .3s ease, opacity .3s ease;}

  .mobile-menu{
    position:fixed; inset:0; background:rgba(255,255,255,.98); backdrop-filter:blur(20px);
    z-index:999; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:28px;
    opacity:0; pointer-events:none; transition:opacity .3s ease;
  }
  .mobile-menu.open{opacity:1; pointer-events:auto;}
  .mobile-menu a{font-size:20px; font-family:var(--font-display); font-weight:600; color:var(--text-1);}

  /* ================= HERO ================= */
  #hero{
    padding:170px 0 120px;
    overflow:hidden;
    display:flex; align-items:center; min-height:92vh;
  }
  #particle-canvas{position:absolute; inset:0; z-index:0; opacity:.75;}
  .hero-glow{
    position:absolute; border-radius:50%; filter:blur(90px); pointer-events:none; z-index:0;
  }
  .glow-1{width:900px; height:900px; background:radial-gradient(circle, rgba(16,185,129,.20), transparent 70%); top:-320px; right:-200px;}
  .glow-2{width:650px; height:650px; background:radial-gradient(circle, rgba(34,211,238,.14), transparent 70%); bottom:-260px; left:-220px;}

  .hero-grid{
    position:relative; z-index:2;
    display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
  }
  .pill{
    display:inline-flex; align-items:center; gap:8px;
    padding:8px 16px; border-radius:100px;
    background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.3);
    font-size:12.5px; font-weight:600; letter-spacing:1px; color:var(--accent-text);
    margin-bottom:28px;
  }
  .pill-dot{width:6px; height:6px; border-radius:50%; background:var(--neon); animation:pulse-dot 2s infinite;}
  @keyframes pulse-dot{0%,100%{opacity:1;} 50%{opacity:.3;}}

  .hero-title{font-size:clamp(40px,5.4vw,80px); margin-bottom:26px;}
  .hero-title .grad-text{background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;}
  .hero-sub{font-size:19px; max-width:540px; margin-bottom:36px;}
  .hero-ctas{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:52px;}
  .trusted-label{font-size:12px; font-weight:600; letter-spacing:1.2px; color:rgba(15,23,42,.4); margin-bottom:18px;}
  .logo-row{display:flex; gap:30px; flex-wrap:wrap; align-items:center;}
  .logo-row span{font-family:var(--font-display); font-weight:600; font-size:16px; color:rgba(15,23,42,.32);}

  /* hero illustration */
  .hero-illustration{position:relative; z-index:2; height:600px;}
  .hub{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:160px; height:160px; border-radius:50%;
    background:radial-gradient(circle, rgba(16,185,129,.22), rgba(16,185,129,.04));
    border:1.5px solid rgba(16,185,129,.75);
    display:flex; align-items:center; justify-content:center; text-align:center;
    font-family:var(--font-display); font-weight:700; font-size:16px; color:var(--text-1);
    box-shadow:0 0 60px rgba(16,185,129,.22), 0 10px 30px rgba(15,23,42,.06);
    animation:float-hub 5s ease-in-out infinite;
    z-index:3;
  }
  @keyframes float-hub{0%,100%{transform:translate(-50%,-50%) translateY(0);} 50%{transform:translate(-50%,-50%) translateY(-10px);}}
  .persona-card{
    position:absolute; display:flex; align-items:center; gap:12px;
    padding:14px 18px; border-radius:18px; z-index:3;
    animation:float-card 6s ease-in-out infinite;
    box-shadow:0 12px 30px rgba(15,23,42,.07);
  }
  .persona-card .icon-tile{width:38px; height:38px; margin:0; border-radius:10px; font-size:16px;}
  .persona-card .p-title{font-family:var(--font-display); font-weight:700; font-size:13.5px; color:var(--text-1);}
  .persona-card .p-sub{font-size:11.5px; color:rgba(15,23,42,.5);}
  @keyframes float-card{0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);}}
  .connector-svg{position:absolute; inset:0; z-index:1; width:100%; height:100%;}
  .connector-svg line{stroke:rgba(5,150,105,.4); stroke-width:1.4; stroke-dasharray:5 5;}

  /* ================= STATS ================= */
  #stats{padding:64px 0; border-top:1px solid rgba(15,23,42,.08); border-bottom:1px solid rgba(15,23,42,.08); background:var(--bg-soft);}
  .stats-row{display:grid; grid-template-columns:repeat(4,1fr);}
  .stat-cell{text-align:center; padding:20px; position:relative;}
  .stat-cell:not(:last-child)::after{
    content:''; position:absolute; right:0; top:50%; transform:translateY(-50%);
    width:1px; height:50px; background:rgba(15,23,42,.1);
  }
  .stat-num{
    font-family:var(--font-display); font-weight:800; font-size:44px;
    background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  }
  .stat-label{font-size:14.5px; color:rgba(15,23,42,.55); margin-top:6px;}

  /* ================= GENERIC SECTION PADDING ================= */
  .py{padding:120px 0;}
  .py-sm{padding:90px 0 120px;}

  /* ================= WHY / GRID CARDS ================= */
  .grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
  .grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .grid-2x3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .grid-2x3 .row{display:contents;}

  /* ================= ECOSYSTEM ================= */
  #ecosystem-diagram{position:relative; width:100%; max-width:900px; height:700px; margin:0 auto;}
  .eco-center{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:170px; height:170px; border-radius:50%;
    background:radial-gradient(circle, rgba(16,185,129,.2), rgba(16,185,129,.04));
    border:1.5px solid rgba(16,185,129,.75);
    display:flex; align-items:center; justify-content:center; text-align:center;
    font-family:var(--font-display); font-weight:700; font-size:18px; color:var(--text-1);
    box-shadow:0 0 60px rgba(16,185,129,.2), 0 10px 30px rgba(15,23,42,.06);
    z-index:3;
  }
  .eco-node{
    position:absolute; display:flex; align-items:center; gap:8px;
    padding:10px 16px; border-radius:100px; z-index:3;
    font-size:13px; font-weight:600; white-space:nowrap; color:var(--text-1);
    transition:transform .25s ease, border-color .25s ease, background .25s ease;
    cursor:default;
    box-shadow:0 8px 20px rgba(15,23,42,.06);
  }
  .eco-node .dot{width:6px; height:6px; border-radius:50%; background:var(--neon);}
  .eco-node:hover{transform:scale(1.08); border-color:rgba(16,185,129,.6); background:rgba(16,185,129,.08);}
  .eco-svg{position:absolute; inset:0; z-index:1;}
  .eco-svg line{stroke:rgba(5,150,105,.28); stroke-width:1.3; stroke-dasharray:4 4; transition:stroke .25s ease, stroke-width .25s ease;}
  .eco-svg line.active{stroke:rgba(5,150,105,.9); stroke-width:2;}

  /* ================= PROGRAMS ================= */
  .program-card p{font-size:14.5px;}

  /* ================= EVENTS ================= */
  .event-card{display:flex; flex-direction:column; gap:20px;}
  .event-top{display:flex; align-items:center; justify-content:space-between;}
  .date-badge{
    background:rgba(15,23,42,.035); border:1px solid rgba(15,23,42,.1); border-radius:12px;
    padding:8px 14px; text-align:center; min-width:56px;
  }
  .date-badge .month{font-size:11px; font-weight:600; color:var(--accent-text); letter-spacing:1px;}
  .date-badge .day{font-family:var(--font-display); font-weight:700; font-size:20px; color:var(--text-1);}
  .tag-row{display:flex; gap:8px; flex-wrap:wrap;}
  .tag{background:rgba(15,23,42,.045); border-radius:100px; padding:5px 10px; font-size:11px; color:rgba(15,23,42,.55);}
  .event-title{font-family:var(--font-display); font-weight:700; font-size:19px; line-height:1.3; color:var(--text-1);}
  .divider{height:1px; background:rgba(15,23,42,.1); width:100%;}
  .speaker-row{display:flex; align-items:center; gap:12px;}
  .avatar{width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,var(--emerald),var(--cyan)); flex-shrink:0;}
  .speaker-name{font-size:14px; font-weight:600; color:var(--text-1);}
  .speaker-role{font-size:12px; color:rgba(15,23,42,.5);}

  /* ================= TESTIMONIALS ================= */
  #testimonials-track{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; transition:opacity .3s ease;}
  .testimonial-card{display:flex; flex-direction:column; gap:20px;}
  .quote-mark{font-family:var(--font-display); font-weight:800; font-size:40px; color:rgba(5,150,105,.55); line-height:1;}
  .testimonial-card p{font-size:15.5px; color:rgba(15,23,42,.75);}
  .carousel-controls{display:flex; justify-content:center; align-items:center; gap:18px; margin-top:44px;}
  .carousel-btn{
    width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    background:rgba(15,23,42,.04); border:1px solid rgba(15,23,42,.12); transition:all .2s ease; font-size:18px; color:var(--text-1);
  }
  .carousel-btn:hover{background:rgba(16,185,129,.14); border-color:rgba(16,185,129,.4);}
  .carousel-dots{display:flex; gap:8px;}
  .carousel-dots span{width:7px; height:7px; border-radius:50%; background:rgba(15,23,42,.16); transition:all .25s ease;}
  .carousel-dots span.active{background:var(--neon); width:22px; border-radius:4px;}

  /* ================= RESOURCES ================= */
  .article-card{overflow:hidden; padding:0; cursor:pointer;}
  .article-thumb{height:180px; background:linear-gradient(135deg, rgba(16,185,129,.65), rgba(34,211,238,.45)); transition:transform .4s ease;}
  .article-card:hover .article-thumb{transform:scale(1.05);}
  .article-body{padding:24px 24px 28px;}
  .article-meta{display:flex; align-items:center; gap:10px; margin-bottom:14px;}
  .cat-pill{background:rgba(16,185,129,.1); color:var(--accent-text); border-radius:100px; padding:5px 12px; font-size:11px; font-weight:600;}
  .read-time{font-size:12px; color:rgba(15,23,42,.4);}
  .article-title{font-family:var(--font-display); font-weight:700; font-size:18px; line-height:1.35; color:var(--text-1);}

  /* ================= PARTNERS ================= */
  .partner-row{display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px; align-items:center;}
  .partner-row span{font-family:var(--font-display); font-weight:600; font-size:17px; color:rgba(15,23,42,.32); transition:color .25s ease;}
  .partner-row span:hover{color:rgba(15,23,42,.75);}

  /* ================= PRICING ================= */
  .pricing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start;}
  .plan-card{display:flex; flex-direction:column; gap:22px;}
  .plan-card.highlight{
    background:rgba(16,185,129,.05); border:1.5px solid rgba(16,185,129,.5);
    box-shadow:0 0 50px rgba(16,185,129,.16), 0 10px 30px rgba(15,23,42,.06);
    transform:scale(1.03);
  }
  .plan-badge{align-self:flex-start; background:var(--neon); color:#05070A; font-size:11px; font-weight:700; letter-spacing:.5px; padding:6px 14px; border-radius:100px;}
  .plan-name{font-family:var(--font-display); font-weight:700; font-size:22px; color:var(--text-1);}
  .plan-price{font-family:var(--font-display); font-weight:800; font-size:34px; display:flex; align-items:baseline; gap:4px; color:var(--text-1);}
  .plan-price span{font-family:var(--font-body); font-size:14px; font-weight:400; color:rgba(15,23,42,.5);}
  .plan-feats{display:flex; flex-direction:column; gap:13px;}
  .plan-feats li{display:flex; align-items:center; gap:10px; font-size:14px; color:rgba(15,23,42,.72);}
  .plan-feats li::before{content:''; width:5px; height:5px; border-radius:50%; background:var(--neon); flex-shrink:0;}

  /* ================= NEWSLETTER ================= */
  #newsletter{padding:120px 0; text-align:center; position:relative; overflow:hidden; background:var(--bg-soft);}
  .newsletter-inner{position:relative; z-index:2; max-width:720px; margin:0 auto;}
  .newsletter-inner h2{margin-bottom:16px;}
  .newsletter-inner p{margin-bottom:36px; font-size:16.5px;}
  .newsletter-form{display:flex; gap:6px; background:#fff; border:1px solid rgba(15,23,42,.12); border-radius:100px; padding:6px; max-width:460px; margin:0 auto; box-shadow:0 8px 26px rgba(15,23,42,.06);}
  .newsletter-form input{
    flex:1; background:transparent; border:none; outline:none; color:var(--text-1); padding:14px 20px; font-size:15px;
  }
  .newsletter-form input::placeholder{color:rgba(15,23,42,.4);}
  .newsletter-msg{margin-top:16px; font-size:14px; color:var(--accent-text); min-height:20px;}

  /* ================= FOOTER ================= */
  footer{background:var(--bg-soft); padding:80px 0 32px; border-top:1px solid rgba(15,23,42,.08);}
  .footer-top{display:grid; grid-template-columns:1.6fr repeat(5,1fr); gap:40px; padding-bottom:56px;}
  .footer-brand p{font-size:14px; margin:18px 0 22px; max-width:320px;}
  .social-row{display:flex; gap:10px;}
  .social-icon{
    width:38px; height:38px; border-radius:10px; background:rgba(15,23,42,.04); border:1px solid rgba(15,23,42,.1);
    display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600; color:rgba(15,23,42,.55);
    transition:all .2s ease;
  }
  .social-icon:hover{background:rgba(16,185,129,.12); border-color:rgba(16,185,129,.4); color:var(--accent-text);}
  .footer-col h4{font-size:13px; font-weight:600; margin-bottom:16px; color:var(--text-1);}
  .footer-col ul{display:flex; flex-direction:column; gap:12px;}
  .footer-col a{font-size:14px; color:rgba(15,23,42,.5); transition:color .2s ease;}
  .footer-col a:hover{color:var(--text-1);}
  .footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:28px; border-top:1px solid rgba(15,23,42,.08); font-size:13px; color:rgba(15,23,42,.4); flex-wrap:wrap; gap:12px;}

  /* ================= RESPONSIVE ================= */
  @media (max-width:1080px){
    .nav-links{display:none;}
    .hamburger{display:flex;}
    .hero-grid{grid-template-columns:1fr;}
    .hero-illustration{height:420px; margin-top:20px;}
    .grid-4{grid-template-columns:repeat(2,1fr);}
    .grid-3, .pricing-grid, #testimonials-track{grid-template-columns:1fr; }
    .stats-row{grid-template-columns:repeat(2,1fr); row-gap:32px;}
    .stat-cell:nth-child(2)::after{display:none;}
    .footer-top{grid-template-columns:repeat(2,1fr);}
    .plan-card.highlight{transform:none;}
  }
  @media (max-width:640px){
    .container{padding:0 20px;}
    #hero{padding:150px 0 80px;}
    .hero-ctas{flex-direction:column; align-items:flex-start;}
    .hero-illustration{display:none;}
    .grid-4{grid-template-columns:1fr;}
    .footer-top{grid-template-columns:1fr; gap:32px;}
    .partner-row{justify-content:flex-start;}
  }
