* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0B0B0B;
  --dark: #141414;
  --red: #E50914;
  --white: #fff;
  --muted: #a7a7a7;
  --line: rgba(255,255,255,.1);
  --glass: rgba(255,255,255,.055);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

body.light {
  --black: #f4f4f4;
  --dark: #fff;
  --white: #111;
  --muted: #555;
  --line: rgba(0,0,0,.1);
  --glass: rgba(0,0,0,.045);
}

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

/* =========================
   SECTIONS
========================= */

.section {
  max-width: 1200px;
  margin: auto;
  padding: 110px 28px;
  position: relative;
}

/* =========================
   NAVIGATION
========================= */

.nav {
  position: fixed;
  z-index: 9999;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 40px);
  max-width: 1200px;
  min-height: 64px;

  padding: 8px 14px;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;

  background: rgba(8,8,8,.88);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  display: flex;
  align-items: center;
  justify-content: center;
}

.light .nav {
  background: rgba(255,255,255,.8);
}

.logo {
  font: 800 28px "Space Grotesk";
  letter-spacing: -2px;
}

.logo span,
.eyebrow,
.section-heading > span {
  color: var(--red);
}

.nav-links {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 28px;

  overflow-x: auto;
  scrollbar-width: none;

  white-space: nowrap;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  color: #d5d5d5;
  text-decoration: none;

  font-size: 13px;
  font-weight: 600;

  transition: .25s ease;
  flex-shrink: 0;
}

.light .nav-links a {
  color: #333;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active {
  color: #ff161e;
}

.icon-btn,
.menu-btn {
  border: 1px solid var(--line);
  background: var(--glass);
  color: inherit;
  border-radius: 10px;
  padding: 8px 11px;
  cursor: pointer;
}

.nav-links .icon-btn {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  border-radius: 11px;

  border: 1px solid rgba(255,255,255,.12);

  background: rgba(255,255,255,.05);

  color: #fff;

  cursor: pointer;
  font-size: 17px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: .25s ease;
}

.nav-links .icon-btn:hover {
  border-color: #ff161e;
  color: #ff161e;
}

.menu-btn {
  display: none !important;
}

.nav-spacer {
  display: none !important;
}

/* =========================
   PRELOADER
========================= */

.preloader {
  position: fixed;
  inset: 0;

  background: #080808;

  z-index: 100;

  display: grid;
  place-items: center;

  transition:
    opacity .8s,
    visibility .8s;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
  animation: intro 1s ease;
}

.preloader h1 {
  font: 800 42px "Space Grotesk";
  margin-top: 18px;
}

.preloader p {
  color: #aaa;
}

.profile-ring {
  width: 170px;
  height: 170px;

  border-radius: 50%;
  padding: 4px;

  background:
    linear-gradient(
      135deg,
      var(--red),
      transparent,
      var(--red)
    );

  margin: auto;
}

.profile-ring img {
  width: 100%;
  height: 100%;

  border-radius: 50%;

  object-fit: cover;
  background: #191919;
}

@keyframes intro {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================
   BACKGROUND ORBS
========================= */

.bg-orb {
  position: fixed;

  width: 380px;
  height: 380px;

  border-radius: 50%;

  filter: blur(120px);
  opacity: .12;

  pointer-events: none;
}

.orb-one {
  background: var(--red);
  top: 10%;
  right: -180px;
}

.orb-two {
  background: #9a0010;
  bottom: 5%;
  left: -200px;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  display: grid;
  grid-template-columns: 1.05fr .95fr;

  align-items: center;

  gap: 50px;

  padding-top: 150px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;

  margin-bottom: 22px;
}

.hero h1 {
  font:
    800 clamp(48px, 7vw, 92px)/.98
    "Space Grotesk";

  letter-spacing: -5px;
}

.hero h1 span {
  color: var(--red);
}

.hero-sub {
  font-size: 22px;
  font-weight: 700;
  margin-top: 28px;
}

.hero-meta {
  color: #aaa;
  margin-top: 8px;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  padding: 13px 22px;

  border-radius: 12px;

  font-weight: 800;
  font-size: 14px;

  border: 1px solid var(--line);

  transition: .3s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(229,9,20,.18);
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.video-card {
  width: min(510px,100%);

  aspect-ratio: 16/10;

  border-radius: 28px;
  padding: 10px;

  background:
    linear-gradient(
      145deg,
      rgba(229,9,20,.7),
      rgba(255,255,255,.08)
    );

  box-shadow: 0 30px 100px rgba(0,0,0,.45);

  transform: rotate(2deg);
}

.fake-video {
  height: 100%;

  border-radius: 20px;

  background:
    radial-gradient(
      circle at 60% 40%,
      #421217,
      #111 42%,
      #050505
    );

  display: grid;
  place-items: center;

  position: relative;

  overflow: hidden;
}

.fake-video:after {
  content: "";

  position: absolute;

  width: 150%;
  height: 2px;

  background: rgba(255,255,255,.12);

  transform: rotate(-20deg);

  box-shadow:
    0 70px 0 rgba(255,255,255,.05),
    0 -70px 0 rgba(255,255,255,.04);
}

.play-ring {
  z-index: 1;

  width: 72px;
  height: 72px;

  border: 1px solid #fff;
  border-radius: 50%;

  display: grid;
  place-items: center;
}

.fake-video span {
  position: absolute;

  bottom: 20px;
  left: 22px;

  font-size: 11px;
  letter-spacing: 3px;

  color: #aaa;
}

/* =========================
   ABOUT
========================= */

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;

  gap: 80px;
}

.section-heading > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-heading h2 {
  font:
    700 clamp(34px,5vw,62px)/1.05
    "Space Grotesk";

  letter-spacing: -2px;

  margin-top: 15px;
}

.section-heading p {
  color: var(--muted);
  margin-top: 14px;
}

.about-copy > p {
  font-size: 19px;
  color: #ccc;
  max-width: 720px;
}

.light .about-copy > p {
  color: #444;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;

  gap: 9px;

  margin-top: 28px;
}

.skill-grid span {
  border: 1px solid var(--line);

  background: var(--glass);

  padding: 9px 12px;

  border-radius: 100px;

  font-size: 12px;
  color: #bbb;
}

/* ==================================================
   BEFORE / AFTER
   FIXED FOR DESKTOP + MOBILE
================================================== */

.compare {
  position: relative;

  width: 100%;

  /*
     تصویر کا اصل تناسب برقرار رکھنے کے لیے
     16:9 رکھا گیا ہے
  */
  aspect-ratio: 16 / 9;

  height: auto;

  margin-top: 40px;

  border-radius: 24px;

  overflow: hidden;

  background-color: #111;

  background-image: url('assets/color_after.jpg');

  background-position: center;
  background-repeat: no-repeat;

  /*
     cover کی بجائے contain تاکہ
     تصویر crop نہ ہو
  */
  background-size: contain;
}

.compare:after {
  content: "CINEMATIC";

  position: absolute;

  inset: auto 30px 30px auto;

  font:
    900 50px
    "Space Grotesk";

  opacity: .13;

  pointer-events: none;
}

.compare-before {
  position: absolute;

  top: 0;
  left: 0;

  width: 50%;
  height: 100%;

  background-image: url('assets/color_before.jpg');

  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  border-right: 2px solid #fff;

  z-index: 2;

  overflow: hidden;
}

.compare-range {
  position: absolute;
}

.compare input {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;

  z-index: 5;

  cursor: ew-resize;
}

.compare-handle {
  position: absolute;

  top: 0;
  bottom: 0;

  width: 3px;

  background: #fff;

  z-index: 4;
}

.compare-handle:after {
  content: "↔";

  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%,-50%);

  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: #fff;

  color: #111;

  display: grid;
  place-items: center;

  font-weight: 900;
}

.compare-label {
  position: absolute;

  top: 20px;

  z-index: 3;

  font-size: 10px;

  letter-spacing: 2px;

  background: rgba(0,0,0,.5);

  padding: 6px 9px;

  border-radius: 7px;
}

.before-label {
  left: 20px;
}

.after-label {
  right: 20px;
}

/* =========================
   CARDS
========================= */

.card-grid {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 16px;

  margin-top: 45px;
}

.service-card,
.testimonial,
.price-card {
  border: 1px solid var(--line);

  background:
    linear-gradient(
      145deg,
      var(--glass),
      transparent
    );

  border-radius: 20px;

  padding: 26px;

  transition: .35s;

  position: relative;

  overflow: hidden;
}

.service-card:hover,
.testimonial:hover,
.price-card:hover {
  transform: translateY(-7px);

  border-color: rgba(229,9,20,.5);
}

.service-icon {
  font-size: 25px;
  color: var(--red);

  margin-bottom: 25px;
}

.service-card h3 {
  font: 700 20px "Space Grotesk";
}

.service-card p {
  color: var(--muted);

  font-size: 14px;

  margin: 10px 0 20px;
}

.mini-btn {
  font-size: 12px;
  font-weight: 800;

  color: #fff;

  border-bottom: 1px solid var(--red);

  padding-bottom: 3px;
}

/* =========================
   PORTFOLIO
========================= */

.portfolio-grid {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 18px;

  margin-top: 45px;
}

.work-card {
  border: 1px solid var(--line);

  border-radius: 18px;

  overflow: hidden;

  background: var(--glass);

  transition: .3s;
}

.work-card:hover {
  transform: translateY(-6px);
}

.work-thumb {
  aspect-ratio: 16/9;

  background: #111;

  position: relative;

  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: .5s;
}

.work-card:hover img {
  transform: scale(1.06);
}

.work-play {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%,-50%);

  width: 46px;
  height: 46px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: rgba(229,9,20,.9);
}

.work-meta {
  padding: 14px;

  display: flex;

  justify-content: space-between;

  font-size: 13px;
}

.work-meta span {
  color: #aaa;
}

/* =========================
   PRICING
========================= */

.pricing-grid {
  display: grid;

  grid-template-columns: repeat(4,1fr);

  gap: 16px;

  margin-top: 45px;
}

.price-card h3 {
  font: 700 22px "Space Grotesk";
}

.price {
  font:
    800 42px
    "Space Grotesk";

  margin: 10px 0 20px;
}

.price-card ul {
  list-style: none;
  min-height: 235px;
}

.price-card li {
  font-size: 13px;
  color: #bbb;

  padding: 6px 0;

  border-bottom:
    1px solid
    rgba(255,255,255,.05);
}

.price-card li:before {
  content: "✓";

  color: var(--red);

  margin-right: 8px;
}

.price-card .btn {
  width: 100%;
}

.featured {
  border-color: var(--red);

  box-shadow:
    0 20px 60px
    rgba(229,9,20,.12);
}

.popular {
  position: absolute;

  top: 0;
  right: 0;

  background: var(--red);

  color: #fff;

  font-size: 9px;
  font-weight: 900;

  padding: 7px 10px;

  border-radius:
    0 0 0 10px;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial-grid {
  display: grid;

  grid-template-columns: repeat(3,1fr);

  gap: 16px;

  margin-top: 45px;
}

.stars {
  color: #ffd23c;
  letter-spacing: 4px;
}

.testimonial p {
  color: #bbb;

  margin: 18px 0;

  font-size: 15px;
}

.testimonial small {
  display: block;
  color: #888;
}

/* =========================
   FAQ
========================= */

.faq {
  max-width: 850px;

  margin: 45px auto 0;
}

.faq details {
  border-bottom: 1px solid var(--line);

  padding: 20px 0;
}

.faq summary {
  cursor: pointer;

  font-weight: 700;
  font-size: 17px;

  list-style: none;
}

.faq summary:after {
  content: "+";

  float: right;

  color: var(--red);

  font-size: 24px;
}

.faq details[open] summary:after {
  content: "−";
}

.faq p {
  color: #aaa;

  margin-top: 12px;

  max-width: 750px;
}

/* =========================
   CONTACT
========================= */

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 50px;

  margin-top: 45px;
}

.promo-text {
  color: #bbb;
  font-size: 15px;
}

.contact-details {
  display: grid;

  gap: 8px;

  margin-top: 25px;
}

.contact-details a {
  font-size: 19px;
  font-weight: 800;
}

.contact-details a:hover {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  padding: 15px;

  border-radius: 12px;

  border: 1px solid var(--line);

  background: var(--glass);

  color: inherit;

  outline: none;

  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form small {
  color: #777;
}

/* =========================
   FOOTER
========================= */

.footer {
  border-top: 1px solid var(--line);

  padding:
    60px
    max(28px,calc((100% - 1145px)/2));

  display: grid;

  grid-template-columns:
    2fr 1fr 1fr 1fr;

  gap: 40px;

  position: relative;
}

.footer p {
  color: #888;

  max-width: 420px;

  font-size: 13px;

  margin-top: 12px;
}

.footer h4 {
  margin-bottom: 14px;
}

.footer a {
  display: block;

  color: #999;

  font-size: 13px;

  margin: 8px 0;
}

.footer a:hover {
  color: var(--red);
}

.socials {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;
}

.socials a {
  border: 1px solid var(--line);

  padding: 6px 8px;

  border-radius: 8px;
}

.copyright {
  grid-column: 1/-1;

  border-top: 1px solid var(--line);

  padding-top: 20px;

  color: #666;

  font-size: 12px;
}

/* =========================
   FLOATING BUTTONS
========================= */

.floating {
  position: fixed;

  z-index: 40;

  bottom: 22px;

  padding: 12px 16px;

  border-radius: 999px;

  font-weight: 900;

  font-size: 12px;

  box-shadow:
    0 12px 35px
    rgba(0,0,0,.35);
}

.whatsapp {
  left: 22px;

  background: #1db954;

  color: #fff;
}

.hire {
  right: 22px;

  background: var(--red);

  color: #fff;
}

.top-btn {
  position: fixed;

  right: 22px;
  bottom: 75px;

  width: 40px;
  height: 40px;

  border: 1px solid var(--line);

  border-radius: 50%;

  background: var(--dark);

  color: inherit;

  opacity: 0;

  pointer-events: none;

  transition: .3s;

  z-index: 40;
}

.top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   REVEAL
========================= */

.reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity .8s ease,
    transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 950px) {

  .nav {
    top: 12px;

    width: calc(100% - 28px);

    min-height: 58px;

    padding: 7px 12px;

    border-radius: 17px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 22px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-visual {
    order: -1;
  }

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

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

  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

  .section {
    padding: 80px 18px;
  }

  .hero {
    padding-top: 125px;
  }

  .hero h1 {
    font-size: 49px;
    letter-spacing: -3px;
  }

  .card-grid,
  .portfolio-grid,
  .pricing-grid,
  .testimonial-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  /* =========================
     IMPORTANT IMAGE FIX
  ========================= */

  .compare {

    /*
      اب fixed height نہیں ہے۔
      تصویر کے تناسب کے مطابق خود height بنے گی۔
    */

    width: 100%;

    height: auto !important;

    min-height: 0 !important;

    aspect-ratio: 16 / 9;

    margin-top: 35px;

    border-radius: 20px;

    background-size: contain !important;

    background-position: center !important;

    background-repeat: no-repeat !important;

    overflow: hidden;
  }

  .compare-before {

    width: 50%;
    height: 100%;

    background-size: contain !important;

    background-position: center !important;

    background-repeat: no-repeat !important;

    border-right: 2px solid #fff;
  }

  .compare:after {
    font-size: 25px;

    right: 15px;
    bottom: 15px;
  }

  .compare-label {
    top: 12px;

    font-size: 8px;

    padding: 5px 7px;
  }

  .before-label {
    left: 12px;
  }

  .after-label {
    right: 12px;
  }

  .compare-handle:after {
    width: 38px;
    height: 38px;

    font-size: 14px;
  }

  /* =========================
     OTHER IMAGES
  ========================= */

  img {
    max-width: 100%;
  }

  .work-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-card {
    transform: none;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .floating {
    bottom: 14px;
  }

  .hire {
    right: 14px;
  }

  .whatsapp {
    left: 14px;
  }

  .top-btn {
    right: 14px;
    bottom: 67px;
  }

  /* =========================
     MOBILE NAV
  ========================= */

  .nav {
    top: 10px;

    width: calc(100% - 22px);

    min-height: 58px;

    padding: 7px 10px;

    border-radius: 16px;
  }

  .nav-links {
    justify-content: flex-start;

    gap: 19px;

    overflow-x: auto;

    padding: 0 3px;
  }

  .nav-links a {
    font-size: 11px;

    letter-spacing: .1px;
  }

  .nav-links .icon-btn {
    width: 34px;
    height: 34px;

    flex-basis: 34px;

    font-size: 15px;
  }

  .new-hero {
    padding-top: 105px !important;
  }
}

/* ==================================================
   EXTRA SMALL MOBILE
================================================== */

@media (max-width: 400px) {

  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-top: 115px;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -2.5px;
  }

  .compare {
    aspect-ratio: 16 / 9;
    border-radius: 17px;
  }

  .compare-handle:after {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 10px;
  }
}
