:root {
  --red: #dc5454;
  --gold: #d6bb25;
  --green: #448a46;
  --gray: #f2f2f2;
  --teal: #34808b;
  --maroon: #831c1e;
  --maroon-2: #831c1c;
  --beige: #beab98;
  --text: #444;
  --muted: #737373;
  --hover: #fb8f3e;
  --header-h: 105px;
  --purple: #5c2865;
  --products-overlay: #528985e6;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 300; margin: 0 0 12px; }
p { margin: 0 0 14px; }
button, input, textarea { font-family: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  height: var(--header-h);
  box-shadow: 0 1px 0 #eee;
  padding: 0 35px;
}

.header-inner {
  max-width: 1044px;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  max-height: 92px;
  max-width: 280px;
  width: auto;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-family: Mukta, Roboto, sans-serif;
  font-size: 20px;
  font-weight: 200;
  text-transform: capitalize;
  color: var(--muted);
  padding: 15px 25px;
  line-height: 1.5;
  display: block;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--hover);
}

.burger {
  display: none;
  width: 28px;
  height: 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  display: block;
  height: 2px;
  background: #3d3d3d;
  margin: 5px 0;
}

.hero-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background: center / cover no-repeat;
}

.slide.active { opacity: 1; }

.slide-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(689px, 86%);
  min-height: 223px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 36px;
}

.slide-overlay p {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 100;
  line-height: 40px;
  text-align: center;
  white-space: pre-line;
}

.slider-dots {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.slider-dots button {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #e5e5e5;
  cursor: pointer;
  padding: 0;
}

.slider-dots button.active,
.slider-dots button:hover { background: #fff; }

main { display: block; }

.core-values {
  padding: 50px 20px 30px;
  text-align: center;
  max-width: 952px;
  margin: 0 auto;
}

.core-values h2 {
  font-size: 33px;
  line-height: 48px;
  font-weight: 300;
  color: #444;
  margin-bottom: 28px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  text-align: center;
}

.value-card img {
  width: 70px;
  height: 69px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.value-card h3 {
  font-size: 21px;
  font-weight: 300;
  line-height: 22px;
  color: #58595b;
  margin: 0;
}

.split {
  display: flex;
  align-items: stretch;
}

.split .band {
  width: 41.787%;
  padding: 0;
}

.split .band-title {
  margin-left: 41.8%;
  width: 58%;
  padding-top: 75px;
}

.split.about .band-title { padding-top: 145px; }
.split.pakistan .band-title { padding-top: 75px; }
.split.clients .band-title { padding-top: 112px; }

.split .band h2,
.products-block .band h2 {
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 32px;
  font-weight: 300;
  margin: 0;
  line-height: 1.15;
}

.split.clients .band h2 { color: #6e6e6e; }

.split .copy {
  width: 58.221%;
  padding: 50px 210px 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split.pakistan .band,
.split.clients .band { width: 41.674%; }
.split.pakistan .copy,
.split.clients .copy { width: 58.334%; }

.split .copy h4,
.split .copy .lead {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 16px;
  line-height: 1.45;
}

.split .copy .body {
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-line;
}

.read-more {
  color: #ff0000;
  margin-top: 8px;
  display: inline-block;
  font-size: 15px;
}

.split.about .band { background: var(--red); }
.split.pakistan .band { background: var(--green); }
.split.clients .band,
.split.clients .copy { background: var(--gray); }
.split.pakistan .band h2 { text-shadow: 0 0 10px rgba(0,0,0,.3); line-height: 1.1; }

.products-block {
  display: grid;
  grid-template-columns: 25.021% 16.766% 58.213%;
  align-items: stretch;
}

.products-block .band {
  grid-column: 1 / 3;
  grid-row: 1;
  background: var(--gold);
}

.products-block .band-title {
  margin-left: 41.8%;
  width: 58%;
  padding-top: 75px;
}

.products-block .copy {
  grid-column: 3;
  grid-row: 1;
  padding: 50px 210px 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.products-block .copy h4 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 16px;
  line-height: 1.45;
}

.products-block .copy .body {
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-line;
}

.products-block .carousel-strip {
  grid-column: 1;
  grid-row: 2;
  background: var(--gold);
}

.products-block .carousel {
  grid-column: 2 / 4;
  grid-row: 2;
  position: relative;
  overflow: visible;
  container-type: inline-size;
}

.carousel .prev,
.carousel .next {
  position: absolute;
  left: -89px;
  z-index: 3;
  border: 1px solid #000;
  background: #fff;
  padding: 9px;
  margin: 0;
  width: auto;
  height: auto;
  cursor: pointer;
  line-height: 0;
  color: #000;
  box-sizing: content-box;
}

.carousel .prev { top: 93px; }
.carousel .next { top: 139px; }

.carousel .prev svg,
.carousel .next svg {
  display: block;
  width: 14px;
  height: 14px;
}

.carousel-viewport { overflow: hidden; width: 100%; }

.carousel-track {
  display: flex;
  gap: 0;
  transition: transform .35s ease;
}

.carousel-track img {
  display: block;
  width: calc(100cqi / 5);
  height: calc(100cqi / 5 * 325 / 200);
  object-fit: cover;
  flex: 0 0 calc(100cqi / 5);
}

.client-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.client-logos img {
  width: 191px;
  height: 91px;
  object-fit: contain;
}

.page-hero {
  min-height: 571px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero .hero-side { display: none; }

.page-hero .title-box {
  width: min(689px, 86%);
  min-height: 223px;
  background: #000000bf;
  color: #fff;
  text-align: center;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-hero h1 {
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 39px;
  font-weight: 300;
  margin: 0;
}

.page-hero.products { background-position: 0 -257px; }
.page-hero.products .title-box { background: #528985e6; }
.page-hero.services { background-position: 0 -99px; }
.page-hero.services .title-box { background: #a76f7cd1; }

.about-accent {
  height: 201px;
  background: linear-gradient(90deg, transparent 60.912%, var(--beige) 60.912%);
}

.about-body {
  margin-top: -172px;
  padding: 0 50px;
  position: relative;
  z-index: 2;
}

.about-grid {
  max-width: 1041px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 57.869% 42.064%;
  gap: 20px;
  padding: 50px 0 20px;
  background: #fff;
}

.about-grid .text { padding: 43px 50px 2px 0; font-size: 15px; line-height: 1.75; }
.about-grid .text h5 { font-size: 16px; font-weight: 400; margin-bottom: 16px; }
.about-photo img { width: 100%; }

.team-band {
  height: 201px;
  background: linear-gradient(90deg, var(--maroon-2) 79.479%, transparent 79.479%);
}

.team {
  max-width: 880px;
  margin: -128px auto 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.team-card {
  background: #fff;
  padding: 40px;
}

.team-card img { width: 100%; margin-bottom: 16px; object-fit: cover; }
.team-card h3 { font-size: 20px; margin-bottom: 4px; }
.team-card h5 { font-size: 14px; color: #777; margin-bottom: 12px; }
.team-card p { font-size: 13px; line-height: 1.7; color: #555; }

.product-row {
  display: flex;
  min-height: 220px;
}

.product-row .label {
  width: 41.71%;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-row .label h2 {
  color: #fff;
  font-size: 24px;
  margin: 0;
  font-weight: 300;
}

.product-row .gallery {
  width: 58.29%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.product-row .gallery a {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 2;
}

.product-row .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.product-row .gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  opacity: 0;
  transition: opacity 1s ease;
}

.product-row .gallery a:hover img { transform: scale(1.06); }
.product-row .gallery a:hover::after { opacity: 1; }

.services-list {
  max-width: 1104px;
  margin: 0 auto;
  padding: 20px 0 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  display: flex;
  align-items: stretch;
  min-height: 180px;
}

.service-head {
  width: 36.3%;
  background: var(--svc);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 16px 40px 16px;
  position: relative;
  overflow: visible;
}

.service-icon img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.service-label { flex: 1; }

.service-head .num {
  font-family: Roboto, sans-serif;
  font-size: 48px;
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1;
}

.service-head h3 {
  font-size: 18px;
  font-weight: 300;
  margin: 8px 0 0;
  color: #fff;
}

.service-chevron {
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: 76px;
  height: 76px;
  margin-left: -38px;
  z-index: 9;
  pointer-events: none;
}

.service-chevron::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 26px solid #fff;
  margin: 28px auto 0;
}

.service-body {
  width: 63.7%;
  border: 2px solid var(--svc);
  padding: 0 30px;
  display: flex;
  align-items: center;
}

.service-body ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
  list-style-type: circle;
}

.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1140px;
  margin: 50px auto 80px;
  gap: 20px;
  padding: 0;
}

.contact-page h1 { font-size: 27px; font-weight: 600; font-family: Raleway, Roboto, sans-serif; }
.office { margin-bottom: 22px; white-space: pre-line; }
.office h3 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }

.site-footer { background: #fff; }

.footer-links-wrap {
  padding: 0 35px;
  background: linear-gradient(180deg, #f2f2f2 0%, #fff 8%);
}

.footer-contact {
  display: flex;
  min-height: 420px;
}

.footer-contact .info {
  width: 41.83%;
  background: var(--teal);
  color: #fff;
  padding: 40px 50px 30px 8%;
}

.footer-contact .info h3 {
  color: #fff;
  font-size: 2.1em;
  margin-bottom: 18px;
}

.footer-contact .info h4 {
  color: #fff;
  font-size: 16px;
  margin: 16px 0 4px;
  font-weight: 400;
}

.footer-contact .info p,
.footer-contact .info a {
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
}

.footer-contact .icon-line {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 8px 0;
  font-size: 12px;
}

.footer-contact .form-col {
  width: 58.17%;
  padding: 50px 250px 50px 50px;
  background: #fff;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .full { grid-column: 1 / -1; }

.contact-form .field {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ddd;
  padding: 12px 8px;
  font-size: 14px;
  outline: none;
  background: transparent;
}

.contact-form input.invalid,
.contact-form textarea.invalid,
.newsletter input.invalid { border-bottom-color: #c0392b; }

.contact-form textarea { min-height: 90px; resize: vertical; }

.contact-form button {
  background: var(--teal);
  color: #fff;
  border: 0;
  padding: 12px 28px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: .5px;
}

.contact-form button:disabled,
.newsletter button:disabled { opacity: .65; cursor: wait; }

.field-error {
  color: #c0392b;
  font-size: 12px;
  line-height: 1.3;
  min-height: 1.3em;
  margin-top: 4px;
}

.form-success { color: #2e7d32; font-size: 14px; margin-top: 10px; }
.form-error { color: #c0392b; font-size: 14px; margin-top: 10px; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer-links {
  max-width: 1124px;
  margin: 0 auto;
  padding: 52px 0 20px;
  display: grid;
  grid-template-columns: 26.423% 22.42% 23.399% 27.758%;
}

.footer-links h6 {
  font-size: 20px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: .2px;
  margin-bottom: 10px;
}

.footer-links p { color: #7f7f7f; font-size: 12px; max-width: 79%; }

.newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin-top: 8px;
}

.newsletter .field {
  flex: 1;
  min-width: 0;
}

.newsletter input[type="email"] {
  width: 100%;
  border: 1px solid #ddd;
  border-right: 0;
  padding: 10px 12px;
  font-size: 12px;
}

.newsletter input.invalid { border-color: #c0392b; }

.newsletter button {
  background: #333;
  color: #fff;
  border: 0;
  padding: 10px 16px;
  cursor: pointer;
}

.newsletter .field-error,
.newsletter .form-error,
.newsletter .form-success {
  flex-basis: 100%;
}

.copyright-inner {
  max-width: 1158px;
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.copyright {
  background: var(--maroon);
  color: #fff;
  padding: 0 35px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 30px;
}

.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 90vw; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 32px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .split .copy,
  .products-block .copy { padding: 24px; }
  .footer-contact .form-col { padding: 20px; }
  .about-body { margin-top: -120px; padding: 0 10px; }
  .page-hero { min-height: 450px; }
  .services-list { padding: 20px 30px 40px; }
  .contact-page { padding: 0 30px; }
}

@media (max-width: 767px) {
  .site-header { padding: 0 16px; }
  .header-inner { padding: 0; }
  .footer-links-wrap, .copyright { padding: 0 16px; }
  .burger { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px 0 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .hero-slider { height: 520px; }
  .slide-overlay p { font-size: 22px; line-height: 30px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .split, .footer-contact, .product-row, .service-item,
  .contact-page, .about-grid, .team {
    flex-direction: column;
    display: flex;
    grid-template-columns: 1fr;
  }
  .products-block {
    display: flex;
    flex-direction: column;
  }
  .split .band, .split .copy,
  .footer-contact .info, .footer-contact .form-col,
  .product-row .label, .product-row .gallery,
  .service-head, .service-body,
  .products-block .band, .products-block .copy, .products-block .carousel { width: 100%; }
  .split .band-title,
  .products-block .band-title {
    margin-left: 0;
    width: 100%;
    padding: 50px 20px;
    text-align: center;
  }
  .split .copy,
  .products-block .copy { padding: 30px 20px; text-align: center; }
  .products-block .carousel-strip { display: none; }
  .carousel .prev, .carousel .next { left: 12px; top: 12px; }
  .carousel .next { top: 58px; }
  .carousel-track img {
    width: calc(100cqi / 2);
    height: calc(100cqi / 2 * 325 / 200);
    flex-basis: calc(100cqi / 2);
  }
  .page-hero { min-height: 319px; }
  .page-hero .title-box { width: min(689px, 86%); padding: 28px 16px; }
  .page-hero h1 { font-size: 24px; }
  .about-accent, .team-band { display: none; }
  .about-body { margin-top: 24px; padding: 0 20px; }
  .team { margin: 0 auto 40px; padding: 0 20px; }
  .product-row .gallery { grid-template-columns: repeat(3, 1fr); }
  .services-list { padding: 20px; }
  .service-head { padding: 24px 16px; }
  .service-chevron { display: none; }
  .footer-links, .copyright-inner, .contact-form {
    grid-template-columns: 1fr;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .copyright-inner { gap: 8px; }
}
