/* =========================================================
   NASHRAH SHIREEN — Global Stylesheet
   Palette: Emerald & Antique Gold (illuminated-manuscript motif)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@400..700&family=Literata:ital,opsz,wght@0,18..144,400;0,18..144,500;0,18..144,600;0,18..144,700;1,18..144,400&family=Poppins:wght@400;500;600;700&family=Noto+Nastaliq+Urdu:wght@400;600&display=swap');

:root{
  --emerald-deep:#0A3D2E;
  --emerald:#125940;
  --emerald-soft:#e7f0ea;
  --gold:#C7A03D;
  --gold-light:#E9D18B;
  --ivory:#FBF6EA;
  --paper:#FFFDF7;
  --ink:#1C2420;
  --ink-soft:#4a5750;
  --maroon:#8A2A2A;
  --radius:10px;
  --shadow:0 6px 24px rgba(10,61,46,0.12);
  --shadow-lg:0 14px 40px rgba(10,61,46,0.18);
  --border-frame: 22px;
  --font-display:'Reem Kufi', sans-serif;
  --font-body:'Literata', serif;
  --font-ui:'Poppins', sans-serif;
  --font-urdu:'Noto Nastaliq Urdu', serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background-color:var(--ivory);
  background-image:url('/assets/bg-pattern.svg');
  background-size:120px 120px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--emerald-deep);
  margin:0 0 .5em;
  line-height:1.2;
  letter-spacing:.2px;
}
p{margin:0 0 1em;color:var(--ink-soft);}
ul{margin:0;padding:0;list-style:none;}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;}

/* ---------- Page frame (illuminated manuscript border) ---------- */
.page-frame{
  border:var(--border-frame) solid transparent;
  border-image:url('/assets/border-pattern.svg') 60 fill round;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* ---------- Top bar ---------- */
.topbar{
  background:var(--emerald-deep);
  color:var(--gold-light);
  font-family:var(--font-ui);
  font-size:.8rem;
  padding:.45rem 1.2rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.4rem 1rem;
  border-bottom:2px solid var(--gold);
}
.topbar .tb-title{
  font-family:var(--font-display);
  font-size:1rem;
  letter-spacing:.5px;
  color:var(--ivory);
}
.topbar .tb-contact{display:flex;gap:1rem;flex-wrap:wrap;}
.topbar .tb-contact a{color:var(--gold-light);}
.topbar .tb-contact a:hover{color:#fff;text-decoration:underline;}
.topbar .tb-clock{white-space:nowrap;color:var(--gold-light);}

/* ---------- Brand header / nav row ---------- */
.brandbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.9rem 1.4rem;
  background:var(--paper);
  border-bottom:1px solid var(--gold-light);
}
.brand{
  display:flex;
  align-items:center;
  gap:.6rem;
}
.brand img{width:34px;height:34px;}
.brand .brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand .brand-text strong{
  font-family:var(--font-display);
  font-size:1.35rem;
  color:var(--emerald-deep);
}
.brand .brand-text span{
  font-family:var(--font-urdu);
  font-size:1rem;
  color:var(--maroon);
}
.menu-toggle{
  display:none;
  background:var(--emerald-deep);
  color:var(--gold-light);
  border:none;
  border-radius:var(--radius);
  padding:.5rem .8rem;
  font-family:var(--font-ui);
  font-size:.85rem;
  cursor:pointer;
}

/* ---------- Primary nav — button style ---------- */
.primary-nav{
  background:var(--emerald);
  padding:.5rem 1rem;
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  justify-content:center;
}
.primary-nav a{
  font-family:var(--font-ui);
  font-weight:600;
  font-size:.82rem;
  letter-spacing:.3px;
  color:var(--ivory);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(233,209,139,.35);
  padding:.5rem 1rem;
  border-radius:999px;
  transition:.2s ease;
  white-space:nowrap;
}
.primary-nav a:hover,.primary-nav a.active{
  background:var(--gold);
  color:var(--emerald-deep);
  border-color:var(--gold);
  transform:translateY(-1px);
}

/* ---------- Layout: sidebar + content ---------- */
.layout{
  display:flex;
  flex:1;
  max-width:1360px;
  margin:0 auto;
  width:100%;
  gap:0;
}
.sidebar{
  width:270px;
  flex-shrink:0;
  background:var(--paper);
  border-right:1px solid var(--gold-light);
  padding:1.4rem 1.1rem 2.5rem;
}
.sidebar h4{
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:var(--maroon);
  font-family:var(--font-ui);
  margin:1.3rem 0 .5rem;
  border-bottom:1px dashed var(--gold);
  padding-bottom:.35rem;
}
.sidebar h4:first-child{margin-top:0;}
.sidebar .side-link{
  display:block;
  font-family:var(--font-ui);
  font-size:.83rem;
  color:var(--emerald-deep);
  padding:.4rem .6rem;
  border-radius:8px;
  margin-bottom:.15rem;
}
.sidebar .side-link:hover{background:var(--emerald-soft);color:var(--maroon);}

main{flex:1;min-width:0;padding:0;}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding:3.4rem 1.6rem 3rem;
  text-align:center;
  background:
    radial-gradient(ellipse at top, rgba(199,160,61,.16), transparent 60%),
    linear-gradient(180deg, var(--ivory), var(--paper));
  overflow:hidden;
}
.hero::before,.hero::after{
  content:"";
  position:absolute;
  top:50%;left:50%;
  width:640px;height:640px;
  transform:translate(-50%,-50%);
  background:url('/assets/rosette.svg') center/contain no-repeat;
  opacity:.05;
  pointer-events:none;
}
.hero .rosette{
  width:88px;height:88px;
  margin:0 auto 1rem;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:var(--emerald-deep);
  color:var(--gold-light);
  font-family:var(--font-ui);
  font-size:.78rem;
  font-weight:600;
  padding:.5rem 1.1rem;
  border-radius:999px;
  border:1px solid var(--gold);
  margin-bottom:1.4rem;
}
.badge .dot{width:7px;height:7px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 3px rgba(61,220,132,.25);}
.hero h1{
  font-size:clamp(1.8rem,4.2vw,3rem);
  max-width:820px;
  margin:0 auto .6rem;
}
.hero .urdu-line{
  font-family:var(--font-urdu);
  font-size:1.5rem;
  color:var(--maroon);
  margin-bottom:.8rem;
}
.hero p.lead{
  max-width:640px;
  margin:0 auto 1.6rem;
  font-size:1.05rem;
  position:relative;
  z-index:1;
}
.hero-actions{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap;position:relative;z-index:1;}

/* ---------- Buttons (used instead of info boxes) ---------- */
.btn{
  font-family:var(--font-ui);
  font-weight:600;
  font-size:.88rem;
  padding:.75rem 1.5rem;
  border-radius:999px;
  border:2px solid var(--emerald-deep);
  cursor:pointer;
  display:inline-block;
}
.btn-solid{background:var(--emerald-deep);color:var(--ivory);}
.btn-solid:hover{background:var(--maroon);border-color:var(--maroon);}
.btn-gold{background:var(--gold);color:var(--emerald-deep);border-color:var(--gold);}
.btn-gold:hover{background:var(--gold-light);}
.btn-outline{background:transparent;color:var(--emerald-deep);}
.btn-outline:hover{background:var(--emerald-deep);color:var(--ivory);}

/* ---------- Section wrapper ---------- */
.section{padding:2.6rem 1.6rem;max-width:1180px;margin:0 auto;}
.section .eyebrow{
  font-family:var(--font-ui);
  font-size:.74rem;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:var(--maroon);
  margin-bottom:.4rem;
  display:block;
}
.section h2{font-size:clamp(1.4rem,3vw,2rem);}
.section-lead{max-width:760px;}
.divider{
  width:64px;height:2px;background:var(--gold);
  margin:.9rem 0 1.6rem;
  position:relative;
}
.divider::after{
  content:"✦";
  position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%);
  color:var(--gold);
  background:var(--ivory);
  padding:0 .4rem;
  font-size:.8rem;
}

/* ---------- Service grid — link-buttons, never boxes ---------- */
.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:.85rem;
  margin-top:1.2rem;
}
.service-btn{
  font-family:var(--font-ui);
  background:var(--paper);
  border:1.5px solid var(--gold-light);
  border-radius:999px;
  padding:.85rem 1.3rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  font-weight:600;
  font-size:.86rem;
  color:var(--emerald-deep);
  transition:.2s;
}
.service-btn:hover{
  border-color:var(--emerald-deep);
  background:var(--emerald-deep);
  color:var(--ivory);
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.service-btn .arrow{font-size:1.1rem;color:var(--gold);}
.service-btn:hover .arrow{color:var(--gold-light);}

/* ---------- Benefit pills row ---------- */
.pill-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem;}
.pill{
  font-family:var(--font-ui);
  font-size:.78rem;
  font-weight:600;
  color:var(--emerald-deep);
  background:var(--emerald-soft);
  border:1px solid var(--gold-light);
  padding:.45rem 1rem;
  border-radius:999px;
}

/* ---------- Content page (service description) ---------- */
.page-hero{
  background:linear-gradient(180deg,var(--emerald-deep),var(--emerald));
  color:var(--ivory);
  padding:2.6rem 1.6rem 2.2rem;
  text-align:center;
}
.page-hero .eyebrow{color:var(--gold-light);}
.page-hero h1{color:var(--ivory);font-size:clamp(1.6rem,4vw,2.4rem);}
.page-hero p{color:#dfeee6;max-width:680px;margin:0 auto;}
.content-block{max-width:900px;margin:0 auto;padding:2.6rem 1.6rem;}
.content-block h2{margin-top:2rem;}
.content-block h2:first-child{margin-top:0;}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;margin-top:1rem;}
.callout{
  border-left:4px solid var(--gold);
  background:var(--emerald-soft);
  padding:1rem 1.3rem;
  border-radius:0 var(--radius) var(--radius) 0;
  margin:1.6rem 0;
  font-family:var(--font-ui);
  font-size:.92rem;
  color:var(--emerald-deep);
}
.step-list{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem;}
.step-list li{
  display:flex;
  gap:.8rem;
  align-items:flex-start;
  font-family:var(--font-body);
}
.step-list .num{
  font-family:var(--font-display);
  color:var(--gold);
  font-size:1.1rem;
  min-width:1.6rem;
}

/* ---------- Journal / tool list rows ---------- */
.list-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  padding:.9rem 0;
  border-bottom:1px dashed var(--gold-light);
  flex-wrap:wrap;
}
.list-row .lr-title{font-family:var(--font-ui);font-weight:600;color:var(--emerald-deep);}
.list-row .lr-desc{font-size:.85rem;color:var(--ink-soft);max-width:520px;}

/* ---------- Footer ---------- */
footer{
  background:var(--emerald-deep);
  color:#dfeee6;
  margin-top:auto;
}
.footer-top{
  max-width:1180px;margin:0 auto;
  padding:2.6rem 1.6rem 1.4rem;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:2rem;
}
.footer-top h4{color:var(--gold-light);font-family:var(--font-ui);font-size:.85rem;text-transform:uppercase;letter-spacing:1px;margin-bottom:.8rem;}
.footer-top a{display:block;font-size:.85rem;padding:.2rem 0;color:#cfe4d9;}
.footer-top a:hover{color:#fff;}
.footer-brand strong{font-family:var(--font-display);color:var(--ivory);font-size:1.3rem;}
.footer-brand p{color:#bcd8c9;font-size:.85rem;max-width:320px;}
.availability{
  display:inline-flex;align-items:center;gap:.5rem;
  background:rgba(255,255,255,.06);
  border:1px solid var(--gold);
  padding:.4rem .9rem;border-radius:999px;
  font-family:var(--font-ui);font-size:.75rem;color:var(--gold-light);
  margin-top:.8rem;
}

/* ---------- FAQ accordion ---------- */
.faq{max-width:1180px;margin:0 auto;padding:1.2rem 1.6rem 2.4rem;border-top:1px solid rgba(233,209,139,.25);}
.faq h4{color:var(--gold-light);font-family:var(--font-ui);text-transform:uppercase;font-size:.85rem;letter-spacing:1px;margin-bottom:1rem;}
.faq-item{border-bottom:1px solid rgba(233,209,139,.2);}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:.85rem 0;
  font-family:var(--font-ui);
  font-weight:600;
  font-size:.9rem;
  color:var(--ivory);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";color:var(--gold);font-size:1.2rem;}
.faq-item[open] summary::after{content:"–";}
.faq-item p{color:#cfe4d9;font-size:.85rem;padding-bottom:.9rem;margin:0;}

.footer-bottom{
  text-align:center;
  font-size:.78rem;
  color:#9fc3b0;
  padding:1rem;
  border-top:1px solid rgba(233,209,139,.2);
  font-family:var(--font-ui);
}
.footer-bottom a{color:var(--gold-light);}

/* ---------- Sidebar mobile drawer ---------- */
@media (max-width:960px){
  .layout{flex-direction:column;}
  .sidebar{
    width:100%;
    position:fixed;
    top:0;left:0;bottom:0;
    z-index:60;
    max-width:300px;
    transform:translateX(-105%);
    transition:transform .25s ease;
    overflow-y:auto;
    box-shadow:var(--shadow-lg);
  }
  .sidebar.open{transform:translateX(0);}
  .menu-toggle{display:inline-block;}
  .sidebar-overlay{
    display:none;
    position:fixed;inset:0;background:rgba(10,61,46,.45);
    z-index:55;
  }
  .sidebar-overlay.open{display:block;}
  .footer-top{grid-template-columns:1fr;}
  .two-col{grid-template-columns:1fr;}
  :root{--border-frame:12px;}
  .topbar{font-size:.72rem;justify-content:center;text-align:center;}
  .brand .brand-text strong{font-size:1.1rem;}
}
@media (max-width:520px){
  .primary-nav{gap:.35rem;}
  .primary-nav a{padding:.42rem .75rem;font-size:.74rem;}
  .hero{padding:2.4rem 1rem 2rem;}
}

/* ---------- Scroll to top / bottom controls ---------- */
.scroll-controls{
  position:fixed;
  right:1.1rem;
  bottom:1.1rem;
  display:flex;
  flex-direction:column;
  gap:.5rem;
  z-index:80;
}
.scroll-controls button{
  width:42px;height:42px;
  border-radius:50%;
  border:2px solid var(--gold);
  background:var(--emerald-deep);
  color:var(--gold-light);
  font-size:1.1rem;
  line-height:1;
  cursor:pointer;
  box-shadow:var(--shadow-lg);
  transition:.2s;
}
.scroll-controls button:hover{background:var(--gold);color:var(--emerald-deep);}
@media (max-width:520px){
  .scroll-controls{right:.7rem;bottom:.7rem;}
  .scroll-controls button{width:36px;height:36px;font-size:1rem;}
}

/* ---------- Trust & collaboration strip (every page) ---------- */
.trust-strip{
  background:var(--emerald-soft);
  border-top:1px solid var(--gold-light);
  border-bottom:1px solid var(--gold-light);
  padding:1.6rem 1.6rem;
}
.trust-strip .trust-inner{
  max-width:1180px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  gap:1.2rem;flex-wrap:wrap;
}
.trust-strip p{
  margin:0;color:var(--emerald-deep);
  font-family:var(--font-ui);
  font-size:.9rem;
  max-width:680px;
}
.trust-strip strong{color:var(--maroon);}
.trust-strip .btn{white-space:nowrap;}

/* ---------- FAQ page (dedicated) ---------- */
.faq-page{max-width:900px;margin:0 auto;padding:0 1.6rem 2.6rem;}
.faq-page .faq-item{border-bottom:1px solid var(--gold-light);}
.faq-page .faq-item summary{
  cursor:pointer;list-style:none;padding:1rem 0;
  font-family:var(--font-ui);font-weight:600;font-size:.98rem;
  color:var(--emerald-deep);
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
}
.faq-page .faq-item summary::-webkit-details-marker{display:none;}
.faq-page .faq-item summary::after{content:"+";color:var(--gold);font-size:1.3rem;flex-shrink:0;}
.faq-page .faq-item[open] summary::after{content:"–";}
.faq-page .faq-item p{color:var(--ink-soft);font-size:.92rem;padding-bottom:1.1rem;margin:0;max-width:720px;}
