/* =========================================
   RISHTA-E-KHAIR — CINEMATIC DESIGN
   ========================================= */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&family=Noto+Nastaliq+Urdu:wght@400;500;600&display=swap");

:root {
  --green: #083d32;
  --green-deep: #041f1a;
  --green-dark: #031713;
  --green-soft: #164f41;

  --gold: #d8b46b;
  --gold-light: #f0dca8;
  --gold-dark: #9c7436;

  --cream: #f8f4eb;
  --cream-dark: #eee7da;
  --white: #fffdf8;

  --text: #263e35;
  --muted: #64746a;
  --light-muted: #bdc8bf;

  --border: rgba(156, 116, 54, 0.22);
  --radius: 20px;

  --font-body: "Manrope", Arial, sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-urdu: "Noto Nastaliq Urdu", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--green-deep);
  background: var(--gold-light);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

button,
input,
select,
textarea {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.3rem, 6.2vw, 6.5rem);
  line-height: 1.04;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
  line-height: 1.12;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 12px;
}

p {
  margin-bottom: 20px;
}

svg {
  display: block;
}

fieldset {
  min-width: 0;
}

:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 5px;
}

.section-dark :focus-visible {
  outline-color: var(--gold-light);
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  color: var(--white);
  background: var(--green-deep);
}

.section-dark p {
  color: var(--light-muted);
}

.text-gold {
  color: var(--gold-light);
}

.text-accent {
  color: var(--gold-dark);
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.hero .eyebrow,
.cinematic-banner .eyebrow {
  color: var(--gold-light);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-heading.text-center {
  margin-inline: auto;
}

.section-heading > p:last-child {
  max-width: 580px;
}

.section-heading.text-center > p:last-child {
  margin-inline: auto;
}

.section-urdu,
.hero-urdu {
  font-family: var(--font-urdu);
  line-height: 2.6;
}

.section-urdu {
  text-align: left;
  font-size: 21px;
  color: var(--gold-dark);
  margin-bottom: 28px;
}

/* Skip link */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 20px;
  color: var(--green-deep);
  background: var(--gold-light);
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 15px 25px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-align: center;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.btn span[aria-hidden] {
  font-size: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover span[aria-hidden] {
  transform: translate(2px, -2px);
}

.btn-gold {
  color: var(--green-deep);
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(216, 180, 107, 0.12);
}

.btn-gold:hover {
  box-shadow: 0 12px 35px rgba(216, 180, 107, 0.25);
}

.btn-outline {
  color: var(--gold-light);
  border-color: rgba(240, 220, 168, 0.45);
  background: rgba(255, 255, 255, 0.025);
}

.btn-outline:hover {
  background: rgba(216, 180, 107, 0.1);
  border-color: var(--gold);
}

.btn-small {
  min-height: 42px;
  padding: 10px 18px;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 5px;
  color: var(--green);
  border-bottom: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  font-size: 19px;
  transition: transform 0.3s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 21px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(240, 220, 168, 0.12);
  background: linear-gradient(
    to bottom,
    rgba(3, 23, 19, 0.86),
    rgba(3, 23, 19, 0.24)
  );
  transition:
    background-color 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(4, 31, 26, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-symbol {
  color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-urdu {
  color: var(--gold-light);
  font-family: var(--font-urdu);
  font-size: 12px;
  line-height: 2.3;
  text-align: left;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  position: relative;
  padding: 10px 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 253, 248, 0.84);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(216, 180, 107, 0.4);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--gold-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 850px;
  min-height: max(850px, 100svh);
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: cinematic-zoom 22s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(3, 23, 19, 0.96) 0%,
      rgba(3, 23, 19, 0.87) 28%,
      rgba(3, 23, 19, 0.5) 54%,
      rgba(3, 23, 19, 0.1) 80%
    ),
    linear-gradient(
      0deg,
      rgba(3, 23, 19, 0.85),
      transparent 35%,
      rgba(3, 23, 19, 0.12)
    );
}

.hero-inner {
  padding-top: 155px;
  padding-bottom: 145px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.hero h1 {
  text-shadow: 0 3px 35px rgba(0, 0, 0, 0.18);
}

.hero-urdu {
  color: var(--gold-light) !important;
  font-size: clamp(19px, 2.2vw, 27px);
  text-align: left;
  margin-bottom: 22px;
}

.hero-description {
  max-width: 490px;
  font-size: 13px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 34px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  color: var(--light-muted);
  font-size: 10px;
}

.hero-notes span::before {
  content: "✦";
  margin-right: 8px;
  color: var(--gold);
  font-size: 8px;
}

.hero-reveal {
  animation: hero-enter 1.2s var(--ease) both;
}

.hero-content > :nth-child(2) {
  animation-delay: 0.12s;
}

.hero-content > :nth-child(3) {
  animation-delay: 0.24s;
}

.hero-content > :nth-child(4) {
  animation-delay: 0.36s;
}

.hero-content > :nth-child(5) {
  animation-delay: 0.48s;
}

.hero-content > :nth-child(6) {
  animation-delay: 0.6s;
}

/* Decorative 3D rings */

.hero-orbit {
  position: absolute;
  right: 4%;
  bottom: 10%;
  width: 200px;
  height: 200px;
  z-index: 1;
  perspective: 800px;
  pointer-events: none;
  opacity: 0.7;
}

.orbit-ring {
  position: absolute;
  inset: 18px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(216, 180, 107, 0.35),
    inset 0 0 10px rgba(216, 180, 107, 0.25);
  transform-style: preserve-3d;
}

.orbit-ring-one {
  animation: ring-orbit-one 14s linear infinite;
}

.orbit-ring-two {
  inset: 35px;
  border-color: var(--gold-light);
  animation: ring-orbit-two 18s linear infinite;
}

.orbit-glow {
  position: absolute;
  inset: 45px;
  border-radius: 50%;
  background: rgba(216, 180, 107, 0.12);
  filter: blur(30px);
}

/* Particles */

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  bottom: -20px;
  left: var(--particle-left, 10%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px rgba(240, 220, 168, 0.7);
  opacity: 0;
  animation: particle-rise 16s linear infinite;
  animation-delay: var(--particle-delay, 0s);
}

.hero-particles span:nth-child(1) {
  --particle-left: 6%;
  --particle-delay: -2s;
}

.hero-particles span:nth-child(2) {
  --particle-left: 15%;
  --particle-delay: -9s;
}

.hero-particles span:nth-child(3) {
  --particle-left: 24%;
  --particle-delay: -4s;
}

.hero-particles span:nth-child(4) {
  --particle-left: 33%;
  --particle-delay: -12s;
}

.hero-particles span:nth-child(5) {
  --particle-left: 42%;
  --particle-delay: -6s;
}

.hero-particles span:nth-child(6) {
  --particle-left: 51%;
  --particle-delay: -14s;
}

.hero-particles span:nth-child(7) {
  --particle-left: 60%;
  --particle-delay: -3s;
}

.hero-particles span:nth-child(8) {
  --particle-left: 68%;
  --particle-delay: -10s;
}

.hero-particles span:nth-child(9) {
  --particle-left: 76%;
  --particle-delay: -5s;
}

.hero-particles span:nth-child(10) {
  --particle-left: 84%;
  --particle-delay: -13s;
}

.hero-particles span:nth-child(11) {
  --particle-left: 91%;
  --particle-delay: -7s;
}

.hero-particles span:nth-child(12) {
  --particle-left: 97%;
  --particle-delay: -1s;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(transparent, var(--gold));
  transform-origin: top;
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

/* Promise strip */

.promise-strip {
  position: relative;
  padding: 24px 0;
  color: var(--gold-light);
  background: var(--green);
  border-top: 1px solid rgba(216, 180, 107, 0.2);
  border-bottom: 1px solid rgba(216, 180, 107, 0.2);
}

.promise-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.strip-star {
  color: var(--gold);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 90px;
  align-items: center;
}

.about-visual {
  position: relative;
  padding: 0 20px 45px 0;
}

.image-frame {
  position: relative;
  border-radius: 160px 160px 12px 12px;
  overflow: hidden;
  background: var(--cream-dark);
  box-shadow: 0 25px 65px rgba(4, 31, 26, 0.12);
}

.image-frame img {
  height: 530px;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.about-visual:hover .image-frame img {
  transform: scale(1.04);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 18px 0 28px 18px;
  border: 1px solid var(--gold);
  border-radius: 160px 160px 12px 12px;
  pointer-events: none;
}

.visual-caption {
  position: absolute;
  right: -15px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 30px;
  color: var(--white);
  background: var(--green);
  border: 1px solid rgba(216, 180, 107, 0.35);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(4, 31, 26, 0.15);
}

.caption-symbol {
  color: var(--gold);
  font-size: 30px;
}

.visual-caption p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 23px;
  line-height: 1.3;
}

.about-content > p:not(.eyebrow):not(.section-urdu) {
  color: var(--muted);
  font-size: 13px;
}

.about-values {
  display: grid;
  gap: 22px;
  margin: 30px 0;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.value-item > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  color: var(--gold-dark);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 10px;
}

.value-item h3 {
  margin-bottom: 5px;
  font-size: 13px;
}

.value-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Process */

.process-section {
  overflow: hidden;
  isolation: isolate;
}

.section-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  top: -280px;
  left: calc(50% - 325px);
  z-index: -1;
  background: radial-gradient(
    circle,
    rgba(216, 180, 107, 0.1),
    transparent 65%
  );
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-card {
  position: relative;
  padding: 34px 25px;
  border: 1px solid rgba(216, 180, 107, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.012)
  );
}

.step-number {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(240, 220, 168, 0.45);
  font-family: var(--font-heading);
  font-size: 30px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  border: 1px solid rgba(216, 180, 107, 0.25);
  border-radius: 50%;
  color: var(--gold);
  font-size: 28px;
}

.process-card h3 {
  font-size: 14px;
}

.process-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 35px rgba(4, 31, 26, 0.035);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
  color: var(--gold-dark);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 30px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
  font-size: 12px;
}

.service-card .text-link {
  margin-top: auto;
}

.tilt-card {
  transform-style: preserve-3d;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

.tilt-card:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 45px rgba(4, 31, 26, 0.1);
}

.fee-notice {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
  align-items: center;
  margin-top: 35px;
  padding: 30px 35px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--cream-dark);
}

.fee-notice .eyebrow {
  margin-bottom: 8px;
}

.fee-notice h3 {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
}

.fee-notice > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Cinematic banner */

.cinematic-banner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 560px;
  padding: 90px 0;
  color: var(--white);
  background: var(--green-deep);
  overflow: hidden;
  isolation: isolate;
}

.cinematic-banner > img,
.banner-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
}

.cinematic-banner > img {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(3, 23, 19, 0.9),
      rgba(3, 23, 19, 0.45)
    ),
    linear-gradient(
      0deg,
      rgba(3, 23, 19, 0.45),
      transparent
    );
}

.banner-content h2 {
  max-width: 800px;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.banner-content > p[lang="ur"] {
  margin-bottom: 32px;
  color: var(--gold-light);
  font-family: var(--font-urdu);
  font-size: 21px;
  line-height: 2.7;
  text-align: left;
}

/* Registration */

.registration-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 65px;
  align-items: start;
}

.registration-intro {
  position: sticky;
  top: 120px;
}

.registration-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.registration-info {
  margin: 26px 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.6);
}

.registration-info h3 {
  font-size: 13px;
}

.registration-info p,
.registration-info li {
  color: var(--muted);
  font-size: 12px;
}

.registration-info p {
  margin-bottom: 0;
}

.registration-info ul {
  margin: 0;
  padding-left: 18px;
}

.registration-info li + li {
  margin-top: 10px;
}

.registration-panel {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 25px 70px rgba(4, 31, 26, 0.06);
}

.form-group {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}

.form-group legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.form-section-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--gold-dark);
  font-size: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.form-field label span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dcded5;
  border-radius: 7px;
  color: var(--text);
  background: #fbfaf6;
  font-size: 12px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.form-field select {
  padding-right: 28px;
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7a847b;
  opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: white;
  box-shadow: 0 0 0 3px rgba(216, 180, 107, 0.16);
}

.form-consent {
  margin-bottom: 18px;
}

.checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 11px;
  color: var(--muted);
}

.checkbox-label input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 4px 0 0;
  accent-color: var(--green);
}

.checkbox-label a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.form-status {
  margin: 14px 0 0;
  color: var(--green);
  font-size: 12px;
}

.form-status:empty {
  display: none;
}

.form-status.error {
  color: #a33333;
}

.registration-panel noscript p {
  margin-top: 18px;
  font-size: 12px;
}

.registration-panel noscript a {
  text-decoration: underline;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.faq-grid .section-heading {
  margin-bottom: 0;
}

.faq-grid .section-heading > p {
  font-size: 13px;
}

.faq-grid .btn {
  margin-top: 15px;
}

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(216, 180, 107, 0.2);
}

.faq-item:first-child {
  border-top: 1px solid rgba(216, 180, 107, 0.2);
}

.faq-item summary {
  position: relative;
  padding-right: 36px;
  list-style: none;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: -4px;
  color: var(--gold);
  font-size: 25px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  color: var(--gold-light);
}

.faq-item p {
  margin: 18px 30px 0 0;
  font-size: 12px;
  line-height: 1.9;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 85px;
  align-items: center;
}

.contact-content > p:not(.eyebrow) {
  max-width: 450px;
  color: var(--muted);
  font-size: 13px;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

a.contact-card:hover {
  border-color: var(--gold-dark);
  transform: translateX(4px);
}

.contact-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-value {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.contact-arrow {
  position: absolute;
  top: 28px;
  right: 24px;
  color: var(--gold-dark);
  font-size: 23px;
}

.contact-visual {
  position: relative;
  overflow: hidden;
  border-radius: 160px 160px 12px 12px;
  box-shadow: 0 20px 60px rgba(4, 31, 26, 0.12);
}

.contact-visual > img {
  height: 530px;
  object-fit: cover;
}

.contact-visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 35px;
  color: var(--white);
  background: linear-gradient(
    transparent 40%,
    rgba(3, 23, 19, 0.92)
  );
}

.contact-visual-overlay p {
  margin-bottom: 10px;
  font-family: var(--font-urdu);
  font-size: 36px;
  line-height: 2.5;
}

.contact-visual-overlay span {
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* Privacy */

.privacy-section {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  padding: 75px 0;
}

.privacy-section h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.2rem);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.privacy-card h3 {
  font-size: 12px;
}

.privacy-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.95;
}

/* Footer */

.site-footer {
  padding: 55px 0 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 10px;
}

.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-navigation a {
  color: var(--light-muted);
  font-size: 10px;
  transition: color 0.3s ease;
}

.footer-navigation a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  padding-block: 22px;
  border-top: 1px solid rgba(216, 180, 107, 0.15);
}

.footer-bottom p {
  margin: 0;
  font-size: 9px;
}

/* Floating controls */

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 20px;
  color: var(--gold-light);
  background: var(--green);
  border: 1px solid rgba(216, 180, 107, 0.65);
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  background: var(--green-soft);
}

.whatsapp-label {
  font-size: 11px;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold-light);
  background: var(--green);
  border: 1px solid rgba(216, 180, 107, 0.5);
  border-radius: 50%;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Golden cursor — enabled by JavaScript only */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border-radius: 50%;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-light);
  box-shadow: 0 0 14px rgba(216, 180, 107, 0.8);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216, 180, 107, 0.7);
  background: rgba(216, 180, 107, 0.025);
  box-shadow: 0 0 20px rgba(216, 180, 107, 0.08);
  transition:
    width 0.25s ease,
    height 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  body.cursor-enabled,
  body.cursor-enabled a,
  body.cursor-enabled button,
  body.cursor-enabled summary {
    cursor: none;
  }

  body.cursor-enabled .cursor-dot,
  body.cursor-enabled .cursor-ring {
    visibility: visible;
    opacity: 1;
  }

  body.cursor-enabled.cursor-hidden .cursor-dot,
  body.cursor-enabled.cursor-hidden .cursor-ring {
    opacity: 0;
  }

  body.cursor-hover .cursor-ring {
    width: 56px;
    height: 56px;
    border-color: var(--gold-light);
    background: rgba(216, 180, 107, 0.1);
  }

  body.cursor-pressed .cursor-ring {
    width: 26px;
    height: 26px;
  }

  body.cursor-enabled input,
  body.cursor-enabled textarea {
    cursor: text;
  }

  body.cursor-enabled select {
    cursor: pointer;
  }
}

/* Scroll reveal:
   Content remains visible until JS enables observation. */

.reveal {
  opacity: 1;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

/* Animation keyframes */

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cinematic-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.065);
  }
}

@keyframes ring-orbit-one {
  from {
    transform: rotateX(65deg) rotateY(0deg) rotateZ(-25deg);
  }
  to {
    transform: rotateX(65deg) rotateY(360deg) rotateZ(-25deg);
  }
}

@keyframes ring-orbit-two {
  from {
    transform: rotateX(-45deg) rotateY(45deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(-45deg) rotateY(45deg) rotateZ(360deg);
  }
}

@keyframes particle-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
  15% {
    opacity: 0.55;
  }
  80% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
    transform: translate3d(35px, -100vh, 0);
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Tablet */

@media (max-width: 1100px) {
  .primary-navigation {
    gap: 17px;
  }

  .brand-name {
    font-size: 25px;
  }

  .brand-symbol svg {
    width: 40px;
    height: 40px;
  }

  .about-grid,
  .contact-grid,
  .faq-grid {
    gap: 45px;
  }

  .registration-grid {
    gap: 35px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .footer-top {
    align-items: flex-start;
  }
}

/* Mobile navigation + smaller tablets */

@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding: 80px 0;
  }

  .site-header {
    padding: 15px 0;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle:not([hidden]) {
    display: block;
  }

  /* Without JS, navigation remains visible and usable. */
  .primary-navigation {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .site-header:has(.menu-toggle:not([hidden])) .header-inner {
    flex-wrap: nowrap;
  }

  .site-header:has(.menu-toggle:not([hidden]))
  .primary-navigation {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - 82px);
    padding: 20px 30px 30px;
    overflow-y: auto;
    background: rgba(4, 31, 26, 0.99);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease,
      transform 0.3s ease;
  }

  .site-header:has(.menu-toggle:not([hidden]))
  .primary-navigation.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 15px 0;
    font-size: 13px;
  }

  .primary-navigation .btn {
    margin-top: 15px;
  }

  .hero {
    min-height: 800px;
    min-height: max(800px, 100svh);
  }

  .hero-content {
    max-width: 610px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(3, 23, 19, 0.94),
        rgba(3, 23, 19, 0.65) 65%,
        rgba(3, 23, 19, 0.35)
      ),
      linear-gradient(
        0deg,
        rgba(3, 23, 19, 0.85),
        transparent 55%
      );
  }

  .hero-orbit {
    width: 145px;
    height: 145px;
    right: 3%;
    bottom: 7%;
    opacity: 0.45;
  }

  .about-grid,
  .contact-grid,
  .registration-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    width: min(500px, 100%);
    margin-inline: auto;
  }

  .about-content {
    max-width: 660px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    padding: 30px;
  }

  .service-icon {
    margin-bottom: 20px;
  }

  .fee-notice {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .registration-intro {
    position: static;
  }

  .registration-info {
    max-width: 650px;
  }

  .contact-visual {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .faq-grid {
    gap: 35px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
}

/* Phones */

@media (max-width: 600px) {
  html {
    scroll-padding-top: 90px;
  }

  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 65px 0;
  }

  h1 {
    font-size: clamp(2.85rem, 10.5vw, 3.9rem);
    line-height: 1.07;
  }

  h2 {
    font-size: clamp(2.3rem, 9vw, 3rem);
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-urdu {
    font-size: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-symbol svg {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 780px;
    min-height: max(780px, 100svh);
  }

  .hero-inner {
    padding-top: 150px;
    padding-bottom: 130px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(3, 23, 19, 0.88),
        rgba(3, 23, 19, 0.62)
      ),
      linear-gradient(
        0deg,
        rgba(3, 23, 19, 0.96),
        rgba(3, 23, 19, 0.12) 75%
      );
  }

  .hero-urdu {
    font-size: 19px;
    line-height: 2.8;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 12px;
    max-width: 390px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    padding: 13px 17px;
    min-height: 50px;
    font-size: 11px;
  }

  .hero-notes {
    gap: 12px 16px;
    font-size: 9px;
  }

  .hero-orbit {
    width: 100px;
    height: 100px;
    right: 4%;
    bottom: 6%;
    opacity: 0.3;
  }

  .orbit-ring {
    inset: 10px;
    border-width: 2px;
  }

  .orbit-ring-two {
    inset: 20px;
  }

  .hero-particles span:nth-child(even) {
    display: none;
  }

  .scroll-indicator {
    bottom: 25px;
    font-size: 8px;
  }

  .scroll-line {
    height: 28px;
  }

  .promise-strip {
    padding: 20px 0;
  }

  .promise-inner {
    gap: 12px 20px;
    font-size: 9px;
    letter-spacing: 0.025em;
  }

  .strip-star {
    display: none;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .about-grid {
    gap: 40px;
  }

  .about-visual {
    padding-right: 12px;
    padding-bottom: 35px;
  }

  .image-frame,
  .about-visual::before,
  .contact-visual {
    border-radius: 110px 110px 10px 10px;
  }

  .image-frame img {
    height: 380px;
  }

  .visual-caption {
    right: 0;
    padding: 18px 20px;
    gap: 12px;
  }

  .visual-caption p {
    font-size: 20px;
  }

  .caption-symbol {
    font-size: 24px;
  }

  .section-urdu {
    font-size: 19px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-card {
    padding: 28px;
  }

  .step-icon {
    margin-bottom: 20px;
  }

  .fee-notice {
    padding: 24px;
  }

  .fee-notice h3 {
    font-size: 25px;
  }

  .cinematic-banner {
    min-height: 470px;
    padding: 70px 0;
  }

  .banner-content h2 {
    font-size: 2.7rem;
  }

  .banner-content > p[lang="ur"] {
    font-size: 18px;
  }

  .registration-panel {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-group legend {
    font-size: 13px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .form-field input::placeholder,
  .form-field textarea::placeholder {
    font-size: 12px;
  }

  .registration-info {
    padding: 20px;
  }

  .faq-item summary {
    font-size: 12px;
  }

  .contact-grid {
    gap: 35px;
  }

  .contact-visual > img {
    height: 400px;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .privacy-section {
    padding: 55px 0;
  }

  .privacy-card p {
    font-size: 12px;
  }

  .footer-navigation {
    gap: 14px 20px;
  }

  .footer-bottom {
    padding-bottom: 95px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    min-height: 52px;
    padding: 12px 16px;
  }

  .whatsapp-label {
    font-size: 10px;
  }

  .back-to-top {
    left: 16px;
    bottom: 23px;
    width: 38px;
    height: 38px;
  }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-reveal,
  .reveal,
  .reveal.reveal-pending,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero-particles,
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .orbit-ring-one {
    transform: rotateX(65deg) rotateZ(-25deg);
  }

  .orbit-ring-two {
    transform: rotateX(-45deg) rotateY(45deg);
  }

  body.cursor-enabled,
  body.cursor-enabled a {
    cursor: auto;
  }

  body.cursor-enabled button,
  body.cursor-enabled summary {
    cursor: pointer;
  }
}