
@font-face{
  font-family:'AMBILE';
  src:url('../fonts/AMBILE.ttf') format('truetype');
  font-display:swap;
}
@font-face{
  font-family:'AMBILEShadow';
  src:url('../fonts/AMBILEShadow.ttf') format('truetype');
  font-display:swap;
}
@font-face{
  font-family: "SystemSindhi";
  src: local("Noto Sans Arabic"), local("Segoe UI"), local("Arial");
}
:root{
  --bg:#071525;
  --panel:#0e2740cc;
  --panel2:#102f4dcc;
  --text:#f4fbff;
  --muted:#b9d2e7;
  --cyan:#36d9ff;
  --gold:#ffd36b;
  --green:#61f0b2;
  --line:rgba(255,255,255,.14);
  --shadow:0 20px 60px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family:'AMBILE', SystemSindhi, 'Segoe UI', Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(54,217,255,.20), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255,211,107,.12), transparent 30%),
    linear-gradient(135deg,#06111f,#0b2038 45%,#071525);
  color:var(--text);
  overflow-x:hidden;
}
#letterCanvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
  opacity:.68;
}
a{color:inherit}
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:16px clamp(18px,4vw,54px);
  background:rgba(5,16,29,.72);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  direction:ltr;
}
.brand-mark{
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:16px;
  background:linear-gradient(135deg,var(--cyan),var(--green));
  color:#03111d;
  font-size:26px;
  font-weight:900;
  box-shadow:0 0 30px rgba(54,217,255,.34);
}
.brand small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
nav{display:flex;gap:14px;flex-wrap:wrap}
nav a{
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
  padding:9px 11px;
  border-radius:999px;
}
nav a:hover{background:rgba(255,255,255,.08);color:var(--text)}
.hero{
  min-height:calc(100vh - 80px);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:42px;
  align-items:center;
  padding:70px clamp(18px,5vw,76px) 42px;
}
.eyebrow{
  display:inline-flex;
  padding:8px 14px;
  border:1px solid rgba(54,217,255,.35);
  border-radius:999px;
  color:var(--cyan);
  background:rgba(54,217,255,.09);
  direction:ltr;
  margin-bottom:18px;
}
h1{
  font-size:clamp(40px,6vw,78px);
  line-height:1.08;
  margin:0 0 18px;
  letter-spacing:-1.5px;
}
.lead{
  font-size:clamp(18px,2.1vw,25px);
  line-height:1.85;
  color:var(--muted);
  max-width:900px;
}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:16px;
  text-decoration:none;
  font-weight:800;
  border:1px solid var(--line);
}
.btn.primary{
  background:linear-gradient(135deg,var(--cyan),var(--green));
  color:#03111d;
  box-shadow:0 18px 45px rgba(54,217,255,.25);
}
.btn.ghost{background:rgba(255,255,255,.08);color:var(--text)}
.trust-line{
  margin-top:22px;
  color:var(--muted);
  font-size:14px;
}
.hero-panel{
  perspective:1000px;
}
.terminal{
  direction:ltr;
  background:linear-gradient(180deg,rgba(15,42,68,.92),rgba(6,18,32,.92));
  border:1px solid var(--line);
  border-radius:28px;
  padding:20px;
  box-shadow:var(--shadow);
  transform:rotateY(-6deg) rotateX(3deg);
}
.dots{display:flex;gap:7px;margin-bottom:16px}
.dots i{width:12px;height:12px;border-radius:50%;background:var(--cyan);opacity:.8}
.dots i:nth-child(2){background:var(--gold)}
.dots i:nth-child(3){background:var(--green)}
pre{
  margin:0;
  white-space:pre-wrap;
  color:#dff8ff;
  font-size:15px;
  line-height:1.75;
  direction:ltr;
  text-align:left;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  padding:0 clamp(18px,5vw,76px) 50px;
}
.stat-card{
  background:rgba(14,39,64,.68);
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px 22px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
}
.stat-card strong{
  display:block;
  font-size:clamp(30px,4vw,48px);
  color:var(--cyan);
  direction:ltr;
}
.stat-card span{color:var(--muted)}
.section{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto 28px;
  padding:52px clamp(18px,4vw,44px);
  background:rgba(8,24,42,.68);
  border:1px solid var(--line);
  border-radius:30px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
}
.two-col{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:34px;
}
h2{
  margin:0 0 16px;
  font-size:clamp(28px,3.4vw,44px);
}
p{
  color:var(--muted);
  font-size:17px;
  line-height:1.9;
}
.feature-list{
  display:grid;
  gap:12px;
}
.feature-list div{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
}
.section-head{text-align:center;margin-bottom:28px}
.download-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.download-card{
  text-decoration:none;
  padding:28px;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(18,55,88,.82),rgba(11,30,50,.86));
  border:1px solid var(--line);
  transition:.25s ease;
}
.download-card:hover{
  transform:translateY(-6px);
  border-color:rgba(54,217,255,.55);
}
.download-card .icon{font-size:38px}
.download-card h3{font-size:24px;margin:16px 0 8px}
.download-card b{color:var(--cyan)}
.search-box{margin:0 auto 18px;max-width:560px}
.search-box input{
  width:100%;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:var(--text);
  font-size:17px;
  outline:none;
}
.table-wrap{overflow:auto;border-radius:22px;border:1px solid var(--line)}
table{width:100%;border-collapse:collapse;min-width:780px;background:rgba(255,255,255,.04)}
th,td{padding:16px;border-bottom:1px solid var(--line);text-align:right}
th{color:var(--cyan);background:rgba(54,217,255,.08)}
td{color:#e8f8ff}
.code-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:20px;
}
.code-card{
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  padding:20px;
}
.code-card h3{margin-top:0}
.bars{display:grid;gap:14px}
.bars div{
  display:grid;
  grid-template-columns:210px 1fr 88px;
  gap:14px;
  align-items:center;
}
.bars i{
  height:14px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--cyan),var(--green));
  width:var(--w);
  box-shadow:0 0 24px rgba(54,217,255,.28);
}
.bars b{direction:ltr;color:var(--gold)}
.citation-box{
  direction:ltr;
  text-align:left;
  padding:24px;
  border-radius:22px;
  border:1px solid rgba(255,211,107,.35);
  background:rgba(255,211,107,.09);
  line-height:1.9;
}
.footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:42px 18px;
  color:var(--muted);
  text-align:center;
}
@media(max-width:900px){
  .hero,.two-col,.download-grid,.code-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .hero{padding-top:48px}
  .terminal{transform:none}
  nav{display:none}
  .bars div{grid-template-columns:1fr;gap:7px}
}
@media(max-width:560px){
  .stats-grid{grid-template-columns:1fr}
  h1{font-size:38px}
  .site-header{align-items:flex-start}
}

h1,h2,h3,.brand strong,.stat-card strong{font-family:'AMBILEShadow','AMBILE',sans-serif;}


.download-counter{
  display:inline-flex;
  align-items:center;
  gap:14px;
  margin-top:18px;
  padding:13px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(54,217,255,.28);
  box-shadow:0 10px 34px rgba(0,0,0,.18);
}
.download-counter span{color:var(--muted);font-size:15px}
.download-counter strong{
  direction:ltr;
  font-family:'AMBILEShadow','AMBILE',sans-serif;
  color:var(--gold);
  font-size:28px;
  line-height:1;
}

/* =========================================================
   STRONG MOBILE RESPONSIVE FIX — added for cPanel upload
   Prevents right-shifted RTL grid and horizontal overflow
   ========================================================= */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden !important;
}
body{direction:rtl;}
main,.hero,.hero-copy,.hero-panel,.section,.stats-grid,.download-grid,.code-grid,.two-col,.site-header,.footer{
  max-width:100%;
}
.hero-copy,.hero-panel,.terminal,.stat-card,.download-card,.code-card,.citation-box,.table-wrap{
  min-width:0;
}
img,svg,canvas,video,iframe{max-width:100%;}

@media (max-width:1024px){
  .site-header{
    position:relative;
    padding:12px 14px !important;
    justify-content:flex-start;
    align-items:center;
  }
  .brand{
    max-width:100%;
    gap:10px;
  }
  .brand-mark{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:14px;
    font-size:24px;
  }
  .brand strong{font-size:14px;}
  .brand small{
    font-size:10px;
    white-space:normal;
    line-height:1.5;
  }
  nav{display:none !important;}

  .hero{
    display:block !important;
    min-height:auto !important;
    width:100% !important;
    padding:34px 16px 26px !important;
    margin:0 !important;
  }
  .hero-copy{
    width:100% !important;
    max-width:100% !important;
    text-align:right !important;
    margin:0 !important;
    padding:0 !important;
  }
  .eyebrow{
    max-width:100%;
    white-space:normal;
    line-height:1.5;
    font-size:12px;
    margin-bottom:14px;
  }
  h1{
    font-size:clamp(32px,10vw,46px) !important;
    line-height:1.32 !important;
    letter-spacing:0 !important;
    word-break:normal;
    overflow-wrap:anywhere;
  }
  .lead{
    max-width:100% !important;
    font-size:17px !important;
    line-height:1.9 !important;
  }
  .cta-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
    width:100% !important;
  }
  .btn{
    width:100% !important;
    min-height:50px;
    padding:0 14px;
    text-align:center;
  }
  .download-counter{
    display:flex !important;
    width:100% !important;
    justify-content:space-between;
    gap:10px;
  }
  .download-counter strong{font-size:24px;}
  .trust-line{font-size:13px;line-height:1.8;}

  .hero-panel{
    width:100% !important;
    margin:24px 0 0 !important;
    padding:0 !important;
    perspective:none !important;
  }
  .terminal{
    width:100% !important;
    max-width:100% !important;
    transform:none !important;
    border-radius:22px;
    padding:16px;
  }
  pre{
    max-width:100% !important;
    overflow:auto !important;
    white-space:pre-wrap !important;
    word-break:break-word;
    font-size:12px !important;
    line-height:1.7;
  }

  .stats-grid{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    padding:0 16px 28px !important;
    margin:0 !important;
  }
  .stat-card{padding:20px 18px;border-radius:20px;}
  .stat-card strong{font-size:32px !important;}

  .section{
    width:calc(100% - 28px) !important;
    margin:0 auto 18px !important;
    padding:30px 16px !important;
    border-radius:22px !important;
  }
  .two-col,.download-grid,.code-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  h2{font-size:28px !important;line-height:1.35;}
  p{font-size:16px;line-height:1.9;}
  .download-card{padding:22px 18px;border-radius:20px;}
  .download-card h3{font-size:22px;}
  .table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  table{min-width:680px;}
  th,td{padding:12px;font-size:14px;}
  .bars div{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
  }
  .bars i{width:100% !important;}
  .citation-box{font-size:14px;overflow:auto;}
  #letterCanvas{opacity:.22 !important;}
}

@media (max-width:420px){
  .hero{padding:26px 14px 22px !important;}
  h1{font-size:32px !important;}
  .lead{font-size:16px !important;}
  .section{width:calc(100% - 20px) !important;padding:24px 14px !important;}
  .stats-grid{padding-left:10px !important;padding-right:10px !important;}
  .brand small{display:none;}
}

/* Dataset distribution repository blocks */
.repositories .section-head p{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}
.repo-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.repo-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  min-height:178px;
  padding:22px;
  border-radius:24px;
  text-decoration:none;
  background:linear-gradient(180deg,rgba(18,55,88,.82),rgba(8,24,42,.92));
  border:1px solid var(--line);
  transition:transform .25s ease,border-color .25s ease,background .25s ease;
}
.repo-card:hover{
  transform:translateY(-5px);
  border-color:rgba(54,217,255,.58);
  background:linear-gradient(180deg,rgba(25,72,112,.9),rgba(10,32,54,.94));
}
.repo-card img{
  width:54px;
  height:54px;
  object-fit:contain;
  flex:0 0 54px;
  border-radius:14px;
  background:rgba(255,255,255,.92);
  padding:8px;
}
.repo-card h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.25;
}
.repo-card p{
  margin:0 0 12px;
  font-size:15px;
  line-height:1.65;
}
.repo-card span{
  color:var(--cyan);
  font-weight:800;
  direction:ltr;
}
.citation-box a,.trust-line a{color:var(--cyan);text-decoration:none;}
.citation-box a:hover,.trust-line a:hover{text-decoration:underline;}

@media(max-width:1024px){
  .repo-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:700px){
  .repo-grid{grid-template-columns:1fr;}
  .repo-card{
    min-height:auto;
    padding:18px;
    border-radius:20px;
  }
  .repo-card img{
    width:46px;
    height:46px;
    flex-basis:46px;
  }
  .repo-card h3{font-size:20px;}
  .repo-card p{font-size:14px;}
}
