@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --ink: #183247;
  --muted: #5e7483;
  --blue: #237e9b;
  --blue-deep: #173f55;
  --blue-soft: #e6f3f6;
  --line: #d6e5e9;
  --red: #bd463d;
  --green: #2b806f;
  --paper: #f6fafb;
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --urdu: "IBM Plex Sans Arabic", "Noto Nastaliq Urdu", sans-serif;
  --shadow: 0 18px 50px rgba(28, 82, 103, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(35, 126, 155, .3);
  outline-offset: 3px;
}
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.readable { width: min(840px, calc(100% - 2rem)); margin-inline: auto; }
.urdu { font-family: var(--urdu); direction: rtl; text-align: right; line-height: 2; }
.eyebrow { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.display { font-family: var(--serif); }
.section { padding: 5rem 0; }
.section-title { max-width: 700px; margin: 0 0 2rem; }
.section-title h2 { margin: .55rem 0 0; font: 600 clamp(2rem, 4vw, 3.3rem)/1.08 var(--serif); letter-spacing: -.035em; }
.section-title p { margin: 1rem 0 0; color: var(--muted); line-height: 1.8; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: 999px;
  font-size: .82rem; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 10px 24px rgba(189, 70, 61, .22); }
.button-primary:hover { background: #a93d36; }
.button-outline { color: var(--blue); border-color: rgba(35, 126, 155, .4); background: rgba(255,255,255,.65); }
.button-outline:hover { background: var(--blue-soft); }
.button-call { color: var(--blue); border-color: rgba(35,126,155,.28); background: var(--blue-soft); }
.button-wa { color: var(--white); background: var(--green); }

/* Shared chrome */
.topline { min-height: 38px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--blue); }
.marquee-viewport { flex: 1; min-width: 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 1.25rem; padding-right: 1.25rem; white-space: nowrap; font-size: .69rem; letter-spacing: .03em; }
.marquee-group b { opacity: .55; }
.topline-actions { display: none; gap: .8rem; padding: 0 1rem; font-size: .7rem; font-weight: 700; white-space: nowrap; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(214,229,233,.8); backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--white); background: linear-gradient(145deg, #4ab0c9, var(--blue-deep)); border-radius: 14px 14px 14px 4px; font-size: 1.4rem; box-shadow: 0 8px 18px rgba(35,126,155,.2); }
.brand-copy strong { display: block; font: 600 1rem/1.15 var(--serif); }
.brand-copy span { display: block; margin-top: .25rem; color: var(--muted); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: none; align-items: center; gap: 1.5rem; color: var(--muted); font-size: .82rem; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links .nav-whatsapp { color: var(--red); }
.nav-toggle { display: grid; place-items: center; padding: .5rem; color: var(--ink); background: transparent; border: 0; cursor: pointer; font-size: 1.3rem; }
.mobile-menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.mobile-menu > div { overflow: hidden; }
.mobile-menu.open { grid-template-rows: 1fr; border-top: 1px solid var(--line); }
.mobile-links { display: flex; flex-direction: column; padding: .6rem 0 1rem; }
.mobile-links a { padding: .75rem 0; border-bottom: 1px solid rgba(214,229,233,.7); color: var(--muted); }
.mobile-links a:last-child { border: 0; color: var(--red); }
.floating-actions { position: fixed; z-index: 15; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; pointer-events: none; }
.floating-actions a { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem .95rem; border-radius: 999px; color: var(--white); box-shadow: 0 10px 24px rgba(23,63,85,.18); pointer-events: auto; font-size: .72rem; font-weight: 700; }
.floating-call { background: var(--red); }
.floating-wa { background: var(--green); }

/* Homepage and page content */
.hero { position: relative; min-height: min(650px, calc(100dvh - 114px)); display: flex; align-items: center; isolation: isolate; color: var(--white); background: var(--blue-deep); }
.hero-media, .awareness-media { position: absolute; inset: 0; z-index: -2; background: center/cover; }
.hero-media { background-image: url("https://images.unsplash.com/photo-1574238919966-5cb3d9693a4b?auto=format&fit=crop&w=1800&q=82"); }
.hero::before, .awareness::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,48,67,.93), rgba(15,48,67,.68) 50%, rgba(15,48,67,.2)); }
.hero-content { max-width: 760px; padding: 4.5rem 0; }
.hero .eyebrow, .awareness .eyebrow { color: #b8e8f0; }
.hero h1 { max-width: 750px; margin: .9rem 0 1rem; font: 600 clamp(2.45rem, 6.4vw, 5.1rem)/1.03 var(--serif); letter-spacing: -.055em; }
.hero-urdu { margin: 1rem 0; color: rgba(255,255,255,.92); font-size: clamp(1.15rem, 3vw, 1.6rem); }
.hero-lede { max-width: 560px; color: rgba(255,255,255,.84); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.75; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.phone-line { color: rgba(255,255,255,.78); font-size: .84rem; }
.hero-dots { position: absolute; right: max(1rem, calc((100% - 1160px)/2)); bottom: 1.8rem; display: flex; gap: .45rem; }
.hero-dots i { width: 25px; height: 3px; border-radius: 10px; background: rgba(255,255,255,.4); }
.hero-dots i:first-child { background: white; }
.trust-strip { background: var(--blue-soft); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; }
.trust-item { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 0; color: var(--blue-deep); border-bottom: 1px solid rgba(214,229,233,.7); font-size: .82rem; }
.trust-item:last-child { border: 0; }
.trust-icon { color: var(--blue); font-size: 1.1rem; }
.about-grid { display: grid; align-items: center; gap: 2.5rem; }
.image-frame { position: relative; overflow: hidden; border-radius: 1.4rem; background: var(--blue-soft); box-shadow: var(--shadow); }
.image-frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 1rem; pointer-events: none; }
.image-frame img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; }
.image-badge { position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 1; padding: .75rem .85rem; color: var(--ink); background: rgba(255,255,255,.9); border-radius: .8rem; box-shadow: 0 8px 24px rgba(23,63,85,.12); font-size: .72rem; }
.image-badge strong { display: block; font: 600 1rem var(--serif); }
.prose-copy { color: var(--muted); line-height: 1.8; font-size: .95rem; }
.prose-copy p { margin: 0 0 1rem; }
.signature { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.signature strong { display: block; font: 600 1.1rem var(--serif); }
.signature span { color: var(--muted); font-size: .72rem; }
.contact-number { color: var(--red); font-size: .78rem; font-weight: 700; }
.awareness { position: relative; min-height: 640px; display: flex; align-items: center; isolation: isolate; color: var(--white); }
.awareness-media { background-image: url("https://images.unsplash.com/photo-1568479154218-254dcf09299a?auto=format&fit=crop&w=1800&q=80"); }
.awareness-content { max-width: 730px; }
.awareness h2 { margin: .65rem 0 1.2rem; color: var(--white); font: 600 clamp(2.15rem,5vw,4rem)/1.07 var(--serif); }
.awareness .urdu { max-width: 640px; direction: rtl; text-align: right; font-family: var(--urdu); color: rgba(255,255,255,.9); font-size: clamp(1rem,2.15vw,1.25rem); line-height: 2.05; }
.awareness .urdu p { margin: 0 0 .75rem; }
.awareness-signoff { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.78); font-size: .85rem; }
.services-section { background: #eaf5f7; }
.services-grid { display: grid; gap: 1.25rem; }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 4px 0 rgba(35,126,155,.03); transition: transform .28s, box-shadow .28s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-image { width: 100%; height: 190px; object-fit: cover; }
.service-body { display: flex; flex: 1; flex-direction: column; padding: 1.15rem; }
.service-number { color: var(--blue); font-size: .66rem; font-weight: 700; letter-spacing: .14em; }
.service-title { margin: .5rem 0 .8rem; font-size: 1.2rem; font-weight: 600; }
.service-desc { margin: 0 0 .7rem; color: var(--muted); font-size: .83rem; line-height: 1.6; }
.service-desc.urdu { min-height: 4.2rem; font-size: .96rem; }
.service-actions { display: flex; gap: .55rem; margin-top: auto; padding-top: 1rem; }
.service-actions .button { flex: 1; min-height: 40px; padding: .55rem .6rem; font-size: .73rem; }
.article-card { padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-card h2 { margin: 0 0 1.6rem; font: 600 clamp(2rem,4vw,3rem)/1.1 var(--serif); }
.article-card p { margin: 0 0 1.2rem; color: var(--muted); line-height: 1.85; font-size: .96rem; }
.article-image { width: min(560px,100%); height: auto; margin: 2rem auto; object-fit: contain; border-radius: 1rem; box-shadow: var(--shadow); }
.article-callout { margin: 2rem 0; padding: 1.2rem 1.4rem; color: var(--ink); background: var(--blue-soft); border-left: 3px solid var(--red); line-height: 1.75; font-size: .88rem; }
.why-section { color: var(--white); background: var(--blue-deep); }
.why-section .section-title h2 { color: var(--white); }
.why-section .section-title p { color: rgba(255,255,255,.67); }
.why-grid { display: grid; gap: .75rem; }
.why-item { padding: 1.15rem; border: 1px solid rgba(255,255,255,.14); border-radius: .8rem; background: rgba(255,255,255,.05); transition: transform .2s, background .2s; }
.why-item:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); }
.why-item > span { color: #b8e8f0; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.why-item h3 { margin: .65rem 0 .5rem; color: var(--white); font-size: 1rem; }
.why-item p { margin: 0; color: rgba(255,255,255,.67); font-size: .82rem; line-height: 1.7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; color: var(--ink); background: transparent; border: 0; cursor: pointer; text-align: left; font-size: .95rem; font-weight: 600; }
.faq-trigger .urdu { flex: 1; text-align: right; }
.faq-trigger span:last-child { color: var(--blue); transition: transform .25s; }
.faq-item.open .faq-trigger span:last-child { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 0 1.2rem; color: var(--muted); line-height: 1.8; font-size: .9rem; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.testimonials-section { background: var(--paper); }
.testimonials-grid { display: grid; gap: 1rem; }
.testimonial-card { display: flex; min-height: 100%; flex-direction: column; padding: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); box-shadow: 0 10px 28px rgba(23,63,85,.06); }
.testimonial-card blockquote { margin: 0; color: var(--ink); font-size: .98rem; line-height: 2; }
.testimonial-card cite { display: block; margin-top: auto; padding-top: 1.1rem; color: var(--red); font-size: .8rem; font-style: normal; font-weight: 700; }
.contact-section { background: #eaf5f7; }
.contact-grid { display: grid; gap: 1.25rem; }
.contact-panel, .form-card { padding: 1.5rem; border-radius: 1.2rem; }
.contact-panel { position: relative; overflow: hidden; color: var(--white); background: var(--blue-deep); }
.contact-panel h2 { margin: .6rem 0 1rem; font: 600 2.1rem/1.1 var(--serif); }
.contact-panel p { color: rgba(255,255,255,.7); font-size: .87rem; line-height: 1.7; }
.contact-detail { display: flex; gap: .75rem; align-items: start; margin-top: 1.3rem; font-size: .86rem; }
.contact-detail > span:first-child { color: #b8e8f0; font-size: 1.1rem; }
.contact-detail small { display: block; margin-bottom: .15rem; color: rgba(255,255,255,.5); font-size: .68rem; }
.contact-panel .button { width: 100%; margin-top: 1.5rem; }
.form-card { background: var(--white); border: 1px solid var(--line); }
.form-card h3 { margin: 0 0 1.25rem; font: 600 1.45rem var(--serif); }
.form-grid { display: grid; gap: .85rem; }
.field { display: grid; gap: .35rem; }
.field label { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .05em; }
.field input, .field textarea, .field select { width: 100%; padding: .72rem .8rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: .65rem; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note, .form-success { font-size: .74rem; line-height: 1.6; }
.form-note { margin: .75rem 0 0; color: var(--muted); }
.form-success { margin-top: 1rem; padding: .8rem; color: #226a5d; background: #e6f5f1; border-radius: .6rem; }
.disclaimer { padding: 1.35rem 0 5rem; color: var(--muted); border-top: 1px solid var(--line); text-align: center; font-size: .7rem; line-height: 1.6; }
.page-hero { padding: 4.4rem 0 4rem; background: linear-gradient(135deg, #e2f1f4, var(--white)); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 700px; margin: .6rem 0 1rem; font: 600 clamp(2.5rem,6vw,4.5rem)/1.03 var(--serif); letter-spacing: -.045em; }
.page-hero p { max-width: 620px; color: var(--muted); line-height: 1.75; }
.page-hero .urdu { max-width: 700px; color: var(--blue); font-size: 1.25rem; }
.footer { padding: 3.5rem 0 1.2rem; color: var(--white); background: var(--blue-deep); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand { max-width: 250px; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: .8rem; line-height: 1.7; }
.footer h3 { margin: 0 0 1rem; color: #b8e8f0; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.footer ul { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.footer li, .footer a { color: rgba(255,255,255,.65); font-size: .78rem; line-height: 1.5; }
.footer a:hover { color: white; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; padding-top: 1rem; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.13); font-size: .7rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media (min-width: 600px) {
  .container, .readable { width: min(1160px, calc(100% - 3.5rem)); }
  .topline-actions { display: flex; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .trust-item { border: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field.full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr 1.1fr; }
}
@media (min-width: 900px) {
  .container, .readable { width: min(1160px, calc(100% - 5rem)); }
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none; }
  .section { padding: 7rem 0; }
  .about-grid { grid-template-columns: minmax(300px, .85fr) 1.15fr; gap: 6rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service-image { height: 205px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .testimonials-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 1.5rem; align-items: stretch; }
  .contact-panel, .form-card { padding: 2.1rem; }
  .floating-actions { left: 1.5rem; right: 1.5rem; }
}