/* =========================================================
   ADZ DUNIYA — shared stylesheet
   Design tokens
   ========================================================= */
:root{
  --ink:        #0A0E14;   /* primary dark bg */
  --navy:       #101B2D;   /* secondary dark surface */
  --navy-2:     #16233A;   /* raised dark surface */
  --sky:        #2E9FE8;   /* brand blue */
  --sky-dim:    #1c7ec0;
  --sky-deep:   #144C82;   /* deep blue, for headline/logo gradient depth */
  --accent:     #E3B341;   /* warm gold — the contrast accent, used sparingly on highlights & CTAs */
  --accent-deep:#B8860B;   /* darker gold, for use on light backgrounds */
  --paper:      #F4F8FA;   /* light bg */
  --paper-2:    #E8F0F4;   /* light raised surface */
  --slate:      #566578;   /* body text on light */
  --slate-dim:  #8494A6;
  --white:      #FFFFFF;
  --line:       rgba(255,255,255,0.10);
  --line-dark:  rgba(10,14,20,0.08);

  --grad-brand: linear-gradient(100deg, var(--sky-deep) 0%, var(--sky) 100%);

  --font-head: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1160px;
  --radius: 6px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 0.5em 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em 0; max-width: 62ch; }
.on-dark p, .on-dark li, .on-dark span{ color: rgba(255,255,255,0.72); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4{ color: var(--white); }

:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Layout helpers
   ========================================================= */
.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section{ padding: 96px 0; position: relative; }
.section-tight{ padding: 64px 0; }
.on-dark{ background: var(--ink); }
.on-paper{ background: var(--paper); }
.on-paper-2{ background: var(--paper-2); }

.eyebrow{
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--sky-dim);
  margin-bottom: 0.9em;
  display:block;
}
.on-dark .eyebrow{ color: var(--accent); }

.grad-text{
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: linear-gradient(100deg, #F0C15E 0%, var(--accent) 100%);
  color: #201400;
}
.btn-primary:hover{ box-shadow: 0 10px 24px rgba(227,179,65,0.35); }
.btn-outline{
  border-color: var(--sky);
  color: var(--sky);
  background: transparent;
}
.on-dark .btn-outline{ border-color: var(--accent); color: var(--accent); }
.btn-outline:hover{ background: rgba(46,159,232,0.08); }
.btn-dark{
  background: var(--ink);
  color: var(--white);
}
.btn-block{ width:100%; justify-content:center; }

/* =========================================================
   Jagged / torn-edge divider — the brush-stroke motif from
   the AdzDuniya wordmark, used as structure, not decoration
   ========================================================= */
.tear{
  position: relative;
  height: 46px;
  width: 100%;
  display:block;
}
.tear svg{ position:absolute; inset:0; width:100%; height:100%; display:block; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,20,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 78px;
}
.logo{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo span{ background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; }

.nav-links{
  display:flex;
  gap: 34px;
  align-items:center;
}
.nav-links a{
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover, .nav-links a.active{
  color: var(--white);
  border-color: var(--accent);
}
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-cta .btn{ padding: 10px 20px; font-size: 0.92rem; }
.nav-links-cta{ display:none; }

.nav-toggle{
  display:none;
  background:none;
  border:none;
  width: 34px; height: 26px;
  position: relative;
  cursor:pointer;
}
.nav-toggle span{
  position:absolute; left:0; width:100%; height:2px; background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span:nth-child(1){ top:0; }
.nav-toggle span:nth-child(2){ top:12px; }
.nav-toggle span:nth-child(3){ top:24px; }
.nav-toggle.open span:nth-child(1){ top:12px; transform:rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ top:12px; transform:rotate(-45deg); }

@media (max-width: 860px){
  .nav-links{
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 28px;
    gap: 22px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.35s ease;
    pointer-events: none;
  }
  .nav-links.open{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: auto;
  }
  .nav-links a{ font-size: 1.3rem; }
  .nav-cta{ display:none; }
  .nav-toggle{ display:block; }
  .nav-links-cta{ display:inline-flex; margin-top: 10px; }
}

/* Small-phone tightening */
@media (max-width: 480px){
  .wrap{ padding: 0 18px; }
  .section{ padding: 64px 0; }
  .hero{ padding-top: 56px; }
  .hero-grid{ padding-bottom: 44px; gap: 32px; }
  .form-panel{ padding: 22px; }
  .hero-cta-row .btn, .btn-row .btn{ flex: 1 1 auto; justify-content:center; }
  .stat{ padding: 22px 16px; }
  .stat .num{ font-size: 1.7rem; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  background: var(--ink);
  padding: 84px 0 0;
  overflow: hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items:center;
  padding-bottom: 70px;
}
.hero h1{
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--white);
}
.hero-lede{
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 46ch;
}
.hero-cta-row{ display:flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.hero-panel{
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-panel-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.hero-panel-row:last-child{ border-bottom:none; }
.hero-panel-row .label{ color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.hero-panel-row .value{ font-family: var(--font-head); color: var(--accent); font-size: 1.15rem; }

/* stat bar */
.stat-bar{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat{
  padding: 30px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child{ border-left:none; padding-left:0; }
.stat .num{
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--white);
}
.stat .num .unit{ color: var(--accent); }
.stat .cap{ color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-top:4px; }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .stat-bar{ grid-template-columns: 1fr 1fr; }
  .stat{ border-left:none; border-top:1px solid var(--line); padding-left:0; }
  .stat:nth-child(odd){ padding-right: 14px; }
  .stat:nth-child(even){ padding-left: 14px; border-left: 1px solid var(--line); }
}

/* =========================================================
   Section heads
   ========================================================= */
.section-head{
  max-width: 640px;
  margin-bottom: 54px;
}
.section-head h2{ font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* =========================================================
   Service list (not cards — a running ledger)
   ========================================================= */
.service-list{ border-top: 1px solid var(--line-dark); }
.service-row{
  display:grid;
  grid-template-columns: 64px 1.1fr 1.4fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}
.service-row .idx{
  font-family: var(--font-head);
  color: var(--sky-dim);
  font-size: 1.1rem;
}
.service-row h3{ font-size: 1.3rem; }
.service-row .icon{
  width: 44px; height: 44px;
  margin-bottom: 14px;
}
@media (max-width: 760px){
  .service-row{ grid-template-columns: 1fr; gap: 10px; }
}

/* =========================================================
   Process steps (legitimate sequence)
   ========================================================= */
.process{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-step{
  padding: 0 20px 0 0;
  position: relative;
}
.process-step .step-num{
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--accent);
  display:block;
  margin-bottom: 10px;
}
.process-step h4{ color: var(--white); font-size: 1.05rem; }
.process-step p{ font-size: 0.92rem; }
.process-step:not(:last-child)::after{
  content:"";
  position:absolute;
  top: 22px; right: 0;
  width: 20px; height: 2px;
  background: var(--line);
}
@media (max-width: 900px){
  .process{ grid-template-columns: 1fr 1fr; gap: 30px; }
  .process-step:not(:last-child)::after{ display:none; }
}
@media (max-width: 560px){
  .process{ grid-template-columns: 1fr; }
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial{
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px;
}
.testimonial p{ color: var(--ink); font-size: 1.02rem; }
.testimonial .who{ font-family: var(--font-head); color: var(--sky-dim); font-size: 0.92rem; }
@media (max-width: 860px){
  .testimonial-row{ grid-template-columns: 1fr; }
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band{
  background: var(--navy);
  padding: 70px 0;
  text-align:center;
}
.cta-band h2{ color: var(--white); }
.cta-band .btn-row{ display:flex; gap:16px; justify-content:center; margin-top: 26px; flex-wrap:wrap; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: var(--ink);
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid h4{ color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul li{ margin-bottom: 10px; }
.footer-grid ul a{ color: rgba(255,255,255,0.62); font-size: 0.93rem; }
.footer-grid ul a:hover{ color: var(--accent); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom{ flex-direction: column; }
}

/* =========================================================
   Inner page hero (Services / About / Contact)
   ========================================================= */
.page-hero{
  background: var(--ink);
  padding: 70px 0 60px;
}
.page-hero .eyebrow{ color: var(--accent); }
.page-hero h1{ color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 20ch; }
.page-hero p{ color: rgba(255,255,255,0.7); max-width: 56ch; }

/* two-column split, reused on About / Contact */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:start;
}
@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; }
}

/* values / feature list with numbered markers (legit: ordered principles) */
.value-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.value{
  border-left: 3px solid var(--sky);
  padding-left: 20px;
}
.value h4{ font-size: 1.1rem; }
@media (max-width: 700px){ .value-grid{ grid-template-columns: 1fr; } }

/* timeline (legit sequence: company milestones) */
.timeline{ border-left: 2px solid var(--line-dark); margin-left: 8px; }
.timeline-item{
  position: relative;
  padding: 0 0 40px 34px;
}
.timeline-item::before{
  content:"";
  position:absolute;
  left: -7px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sky);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--sky);
}
.timeline-item .yr{ font-family: var(--font-head); color: var(--sky-dim); }
.timeline-item:last-child{ padding-bottom: 0; }

/* =========================================================
   Contact form
   ========================================================= */
.form-panel{
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px;
}
.field{ margin-bottom: 20px; }
.field label{
  display:block;
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--sky);
  background: var(--white);
}
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .field-row{ grid-template-columns: 1fr; } }
textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size: 0.85rem; color: var(--slate-dim); margin-top: 14px; }
.form-status{
  display:none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(69,223,192,0.12);
  border: 1px solid rgba(69,223,192,0.4);
  color: #0d6b57;
  font-size: 0.93rem;
}
.form-status.show{ display:block; }

.contact-info-list{ margin-top: 30px; }
.contact-info-item{ padding: 18px 0; border-top: 1px solid var(--line-dark); }
.contact-info-item .label{ font-family: var(--font-head); font-size: 0.88rem; color: var(--sky-dim); }
.contact-info-item .val{ color: var(--ink); font-size: 1.05rem; margin-top: 4px; }

/* faq */
.faq-item{
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
}
.faq-item:last-child{ border-bottom: 1px solid var(--line-dark); }
.faq-item summary{
  cursor: pointer;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 1.08rem;
  list-style: none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+";
  font-size: 1.4rem;
  color: var(--sky);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ margin-top: 14px; }
