:root {
  --ink: #07111f;
  --navy: #0a1f38;
  --blue: #0b6efb;
  --cyan: #37c7ff;
  --steel: #6d7c90;
  --line: rgba(255, 255, 255, 0.16);
  --paper: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(2, 12, 27, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, min-height 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 68px;
  background: rgba(5, 14, 27, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 188px;
}

.brand-logo,
.brand-mark {
  display: grid;
  place-items: center;
  width: 188px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(11, 110, 251, 0.28);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  padding: 4px 8px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 7px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-action {
  padding: 0 20px;
  background: var(--blue);
  color: var(--white);
}

.primary-btn {
  padding: 0 24px;
  border: 0;
  background: linear-gradient(135deg, var(--blue), #0146ad);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(11, 110, 251, 0.26);
}

.secondary-btn {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.header-action:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px clamp(20px, 5vw, 72px) 48px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(3, 12, 24, 0.18), rgba(3, 12, 24, 0.68)),
    url("https://images.unsplash.com/photo-1494412685616-a5d310fbb07d?auto=format&fit=crop&w=2200&q=85") center / cover;
  transform: scale(1.04);
  animation: slow-pan 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 18%, rgba(55, 199, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(2, 8, 18, 0.22), rgba(2, 8, 18, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-top: 5vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 980px;
  margin-top: 80px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 24px;
  background: rgba(3, 14, 28, 0.72);
  backdrop-filter: blur(18px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.68);
}

.section,
.why-section,
.ceo-section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: end;
  background: var(--white);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.split-copy h2,
.contact-copy h2,
.ceo-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.lead,
.split-copy p,
.contact-copy p,
.ceo-card p {
  color: #526173;
  font-size: 1.06rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.product-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 50px rgba(4, 20, 42, 0.16);
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.02);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.product-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 10, 21, 0.05), rgba(1, 10, 21, 0.82));
  content: "";
}

.product-card div {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
}

.product-card span,
.about-panel span,
.service-card span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 6px 0 0;
  font-size: 1.55rem;
  line-height: 1.08;
}

.product-card:hover img {
  opacity: 0.95;
  transform: scale(1.08);
}

.projects-section {
  background: linear-gradient(180deg, #eef4fb, #ffffff);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(8, 26, 49, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(5, 21, 40, 0.1);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-card div {
  padding: 24px;
}

.project-card span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
  line-height: 1.12;
}

.project-card p {
  color: #5b6878;
}

.project-card a {
  display: inline-flex;
  margin-top: 6px;
  color: #064eb7;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background: #07111f;
  color: var(--white);
}

.split-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.about-panel {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin: 12px 0 22px;
  font-size: 2rem;
  line-height: 1.05;
}

.about-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.ceo-section {
  background:
    linear-gradient(90deg, rgba(245, 248, 252, 0.95), rgba(245, 248, 252, 0.86)),
    url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.ceo-card {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(8, 26, 49, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 80px rgba(6, 20, 40, 0.16);
  backdrop-filter: blur(18px);
}

.ceo-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(11, 110, 251, 0.82), rgba(5, 17, 34, 0.94)),
    url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=900&q=80") center / cover;
}

.ceo-photo::after {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: rgba(255, 255, 255, 0.92);
  content: "Abdul Rehman Javed";
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

.ceo-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.ceo-photo img[src=""],
.ceo-photo img:not([src]) {
  display: none;
}

.ceo-card h3 {
  margin: -6px 0 18px;
  color: var(--blue);
  font-size: 1.08rem;
  text-transform: uppercase;
}

.social-row,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.social-row a,
.contact-links a {
  padding: 10px 14px;
  border: 1px solid rgba(11, 110, 251, 0.18);
  border-radius: 7px;
  background: rgba(11, 110, 251, 0.07);
  color: #064eb7;
  font-weight: 800;
}

.service-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.service-card,
.why-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(8, 26, 49, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(5, 21, 40, 0.07);
}

.service-card h3,
.why-grid strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.service-card p,
.why-grid p {
  margin-bottom: 0;
  color: #5b6878;
}

.why-section {
  background: #0a1f38;
  color: var(--white);
}

.why-section .section-heading h2 {
  color: var(--white);
}

.why-grid article {
  min-height: 190px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.why-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background: #07111f;
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  outline: 0;
  padding: 14px 15px;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(55, 199, 255, 0.12);
}

.form-btn {
  width: 100%;
  margin-top: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding: 48px clamp(20px, 5vw, 72px);
  background: #040b14;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 7px;
  background: #16a34a;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(22, 163, 74, 0.36);
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(3, 12, 24, 0.88), rgba(3, 12, 24, 0.64)),
    url("https://images.unsplash.com/photo-1494412685616-a5d310fbb07d?auto=format&fit=crop&w=2200&q=85") center / cover;
  color: var(--white);
}

.thank-you {
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
}

.thank-you-brand {
  position: absolute;
  top: 24px;
  left: clamp(24px, 5vw, 72px);
}

.thank-you-card {
  max-width: 820px;
}

.thank-you-card h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 6rem);
}

.thank-you-card p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.14rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-pan {
  from {
    transform: scale(1.04) translateX(-1.4%);
  }

  to {
    transform: scale(1.09) translateX(1.4%);
  }
}

@media (max-width: 1050px) {
  .product-grid,
  .project-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .site-header {
    min-height: 70px;
  }

  .main-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .main-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 14, 27, 0.98);
  }

  .site-header.is-open .main-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-stats,
  .intro-band,
  .split-section,
  .ceo-card,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 50px;
  }

  .secondary-btn,
  .primary-btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: auto;
  }

  .brand-logo,
  .brand-mark {
    width: 150px;
    height: 42px;
  }

  h1 {
    font-size: clamp(2.62rem, 14vw, 4.1rem);
  }

  .product-grid,
  .project-grid,
  .service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card img {
    min-height: 286px;
  }

  .service-card,
  .why-grid article {
    min-height: auto;
  }

  .social-row a,
  .contact-links a {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
