/* Al-Quddus Group (Pvt) Ltd — light, airy corporate design system
   Inspired by modern solar/energy landing pages.
   Developed by QWHOSTING.COM */

:root {
  --ink:        #0d1b2a;
  --ink-soft:   #5b6c7d;
  --paper:      #ffffff;
  --paper-2:    #f2f6fb;
  --paper-3:    #e9f1fa;
  --brand:      #1b62d6;   /* logo mid blue */
  --brand-2:    #17b5e8;   /* logo cyan */
  --brand-3:    #6320c9;   /* logo violet */
  --brand-ink:  #0b2b57;
  --line:       #dde7f2;
  --radius:     26px;
  --radius-sm:  16px;
  --shadow:     0 24px 60px -34px rgba(13, 40, 78, .38);
  --shadow-lg:  0 40px 90px -40px rgba(13, 40, 78, .45);
  --wrap:       1180px;
  --sans:       "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.03em; color: var(--brand-ink); }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(115deg, var(--brand-2), var(--brand) 55%, var(--brand-3));
  color: #fff; font-weight: 800;
  padding: .9rem 1.8rem; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; font-size: .95rem;
  box-shadow: 0 16px 30px -16px rgba(27, 98, 214, .8);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 22px 40px -16px rgba(27, 98, 214, .85); }
.btn-sm { padding: .58rem 1.2rem; font-size: .85rem; }
.btn-ghost { background: #fff; color: var(--brand-ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--paper-2); box-shadow: var(--shadow); }
.btn-wa { background: linear-gradient(115deg, #38d16a, #1faa52); box-shadow: 0 16px 30px -16px rgba(31,170,82,.8); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; min-width: 0; }
.brand-logo { height: 52px; width: auto; flex: none; }
.site-foot .brand-logo { height: 58px; }

.primary-nav { display: flex; align-items: center; gap: 1.4rem; }
.primary-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: .3rem; background: var(--paper-2); border-radius: 999px; }
.primary-nav a { text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--ink-soft); padding: .5rem 1rem; border-radius: 999px; transition: .18s ease; }
.primary-nav a:hover { color: var(--brand-ink); background: #fff; }
.primary-nav a[aria-current="page"] { color: #fff; background: var(--brand-ink); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--brand-ink); margin: 5px 0; transition: .2s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: 78px 0 auto; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; width: 100%; background: none; border-radius: 0; padding: 0; }
  .primary-nav li { width: 100%; border-bottom: 1px solid var(--line); }
  .primary-nav li a { display: block; padding: .85rem .2rem; border-radius: 0; }
  .primary-nav .btn { margin-top: 1rem; justify-content: center; }
  .brand-logo { height: 44px; }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper-3), #fff 75%); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 16ch; }
.hero p.lede { max-width: 52ch; color: var(--ink-soft); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.hero-badge {
  position: absolute; left: -12px; bottom: -18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .9rem 1.2rem; box-shadow: var(--shadow); max-width: 60%;
}
.hero-badge strong { display: block; font-size: 1.5rem; color: var(--brand); line-height: 1.1; }
.hero-badge span { font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 560px) { .hero-badge { position: static; margin-top: 1rem; max-width: none; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand);
  background: var(--paper-3); border-radius: 999px; padding: .45rem 1rem; margin-bottom: 1rem;
}

/* ---------- page header (inner pages) ---------- */
.page-head { background: linear-gradient(180deg, var(--paper-3), #fff); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { max-width: 20ch; }
.page-head p { color: var(--ink-soft); max-width: 62ch; margin-bottom: 0; }
.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
section.tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.alt { background: var(--paper-2); }
.dark { background: linear-gradient(150deg, #0b2b57, #061a34); color: #c8d9ee; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { background: rgba(255,255,255,.1); color: #7fd9f5; }
.section-head { max-width: 64ch; margin-bottom: 2.6rem; }
.section-head p { color: var(--ink-soft); }
.dark .section-head p { color: #9fb6d2; }

.grid { display: grid; gap: 1.4rem; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: 0 18px 40px -34px rgba(13,40,78,.5);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: #bcd6f5; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35rem; }
.card .tag { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); font-weight: 800; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 1rem; font-weight: 800; font-size: .9rem; text-decoration: none; color: var(--brand); }
.card .more::after { content: " \2192"; }

.co-card { padding: 0; display: flex; flex-direction: column; }
.co-card img { aspect-ratio: 16/10; object-fit: cover; }
.co-card .co-body { padding: 1.5rem 1.6rem 1.8rem; }

.dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.dark .card p { color: #a9c1dc; }
.dark .card .tag { color: #7fd9f5; }

/* ---------- stats ---------- */
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.4rem 1.5rem; }
.alt .stat { background: #fff; }
.stat strong {
  display: block; font-size: 2.5rem; font-weight: 800; line-height: 1;
  background: linear-gradient(115deg, var(--brand-2), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .88rem; color: var(--ink-soft); }
.dark .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.dark .stat span { color: #a9c1dc; }

/* ---------- split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--paper-3); }
.timeline li { position: relative; padding: 0 0 1.8rem 1.8rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-2); }
.timeline strong { font-size: 1.25rem; display: block; color: var(--brand-ink); }
.timeline p { margin: .2rem 0 0; color: var(--ink-soft); }
.dark .timeline { border-color: rgba(255,255,255,.2); }
.dark .timeline strong { color: #fff; }
.dark .timeline p { color: #a9c1dc; }

/* ---------- lists ---------- */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }

/* ---------- people ---------- */
.person { text-align: left; }
.avatar {
  width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-2), var(--brand-3)); color: #fff;
  font-weight: 800; font-size: 1.4rem; margin-bottom: 1rem;
}
.person .role { color: var(--brand); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta .wrap { background: linear-gradient(140deg, #0b2b57, #143f80 60%, #3b1e94); border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem); color: #fff; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; }
.cta p { color: #cfe0f5; max-width: 56ch; margin-inline: auto; }
.cta .hero-actions { justify-content: center; }
.cta .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: .35rem; color: var(--brand-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line);
  border-radius: 14px; font: inherit; background: var(--paper-2); color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(23,181,232,.15);
}
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: 1.4rem; font-size: .93rem; }
.alert-ok { background: #e6f9ee; border: 1px solid #93e0b3; color: #12653a; }
.alert-err { background: #fdecec; border: 1px solid #f3b4b4; color: #93231f; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25d366; color: #fff; font-weight: 800; font-size: .9rem;
  padding: .8rem 1.2rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 18px 36px -16px rgba(37, 211, 102, .9);
  transition: transform .18s ease;
}
.wa-float:hover { transform: translateY(-3px); color: #fff; }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

.wa-panel { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.wa-panel h2 { margin-bottom: .4rem; }
.wa-panel p { color: var(--ink-soft); margin-bottom: 0; }
.wa-panel .wa-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- faq ---------- */
details.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.3rem; background: #fff; margin-bottom: .8rem; }
details.faq summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; color: var(--brand-ink); }
details.faq p { margin: .8rem 0 0; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-foot { background: linear-gradient(160deg, #0b2b57, #061a34); color: #a9c1dc; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .93rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); padding-bottom: 2.5rem; }
.foot-about { max-width: 34ch; }
.site-foot .brand-logo { background: #fff; border-radius: 14px; padding: .5rem .7rem; }
.site-foot h2 { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; margin-bottom: 1rem; color: #fff; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .55rem; }
.site-foot a { color: #cfe0f5; text-decoration: none; }
.site-foot a:hover { color: #7fd9f5; }
.site-foot address { font-style: normal; }
.foot-bar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); padding: 1.2rem 0; font-size: .85rem; }
.foot-bar p { margin: 0; }
.foot-bar a { color: #7fd9f5; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.primary-nav .btn { color: #fff; padding: .58rem 1.2rem; }

/* --- SEO: related internal links + external link markers ------------------ */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.ext-ico { font-size:.8em; opacity:.65; }
.related { padding: 3.5rem 0; background: var(--surface-2, #f6f8fb); }
.rel-card { display:block; text-decoration:none; color:inherit; transition: transform .18s ease, box-shadow .18s ease; }
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,25,50,.12); }
.rel-card h3 { font-size:1.05rem; margin:0 0 .4rem; }
.rel-card p { margin:0 0 .7rem; opacity:.8; font-size:.94rem; }
.foot-social { list-style:none; padding:0; margin:0; display:grid; gap:.45rem; }

/* --- legal & compliance pages --------------------------------------------- */
.legal { max-width: 78ch; }
.legal h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 2.4rem; }
.legal h3 { font-size: 1.12rem; margin-top: 1.8rem; color: var(--brand-ink); }
.legal p, .legal li { color: #33465c; }
.legal ul, .legal ol { padding-left: 1.25rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: .5rem; }
.legal-meta { font-size: .88rem; color: var(--ink-soft); border-left: 3px solid var(--brand-2); padding-left: .9rem; }
.table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table thead th { background: var(--paper-2); color: var(--brand-ink); font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.legal-table tbody tr:last-child td { border-bottom: 0; }

/* --- leadership profile link ---------------------------------------------- */
.person-link { margin: .2rem 0 0; font-weight: 700; font-size: .92rem; }

/* --- footer legal bar ----------------------------------------------------- */
.foot-legal { border-top: 1px solid rgba(255,255,255,.14); padding: 1.4rem 0 .4rem; }
.foot-legal-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0 0 .9rem; padding: 0; }
.foot-legal-nav li { margin: 0; }
.foot-legal-nav a { font-weight: 700; font-size: .86rem; }
.foot-reg { margin: 0; font-size: .78rem; line-height: 1.65; color: #8fa8c6; max-width: 105ch; }
.foot-reg a { color: #7fd9f5; font-weight: 700; }
.foot-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot-bar { padding-bottom: 4.5rem; }
@media (min-width: 561px) { .foot-bar { padding-bottom: 1.2rem; } .site-foot { padding-bottom: 3.5rem; } }
