:root {
  color-scheme: dark light;
  --bg-1: #050d18;
  --bg-2: #102846;
  --bg-3: #183f66;
  --card: rgba(255, 255, 255, 0.12);
  --card-border: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --snow: rgba(255, 255, 255, 0.94);
  --snow-glow: rgba(130, 220, 255, 0.72);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.38);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-1: #dcecff;
    --bg-2: #eff6ff;
    --bg-3: #f9fbff;
    --card: rgba(255, 255, 255, 0.72);
    --card-border: rgba(15, 62, 105, 0.16);
    --text: #10233f;
    --muted: rgba(20, 43, 73, 0.76);
    --snow: rgba(32, 121, 188, 0.4);
    --snow-glow: rgba(255, 255, 255, 0.88);
    --shadow: 0 25px 70px rgba(42, 94, 140, 0.22);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 204, 255, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 174, 0, 0.16), transparent 26%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 42%, var(--bg-3) 100%);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  opacity: 0.28;
  z-index: 0;
}

body::before {
  background: #00c8ff;
  top: -170px;
  left: -140px;
}

body::after {
  background: #ffbf00;
  right: -170px;
  bottom: -180px;
}



.selector-page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 24px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 28px;
}

.hero {
  text-align: center;
  margin-bottom: 26px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #e7f7ff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

@media (prefers-color-scheme: light) {
  .brand-pill {
    color: #0c4777;
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(12, 71, 119, 0.15);
  }
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -1.5px;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.hero p {
  margin: 14px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.project-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  align-items: stretch;
}

.project-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-radius: 26px;
  color: var(--text);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.20), transparent 42%);
  pointer-events: none;
}

.project-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.it-card {
  background: linear-gradient(145deg, rgba(0, 140, 255, 0.24), rgba(255, 255, 255, 0.09));
}

.service-card {
  background: linear-gradient(145deg, rgba(255, 166, 0, 0.22), rgba(255, 255, 255, 0.09));
}

.graphic-card {
  background: linear-gradient(145deg, rgba(0, 58, 160, 0.26), rgba(255, 112, 0, 0.16));
}

.rd-card {
  background: linear-gradient(145deg, rgba(12, 45, 120, 0.30), rgba(255, 108, 0, 0.18));
}

.bhulekh-card {
  background: linear-gradient(145deg, rgba(7, 62, 142, 0.32), rgba(255, 126, 0, 0.18));
}

@media (prefers-color-scheme: light) {
  .it-card {
    background: linear-gradient(145deg, rgba(214, 239, 255, 0.86), rgba(255, 255, 255, 0.72));
  }

  .service-card {
    background: linear-gradient(145deg, rgba(255, 241, 209, 0.88), rgba(255, 255, 255, 0.72));
  }

  .graphic-card {
    background: linear-gradient(145deg, rgba(222, 235, 255, 0.90), rgba(255, 234, 215, 0.74));
  }

  .rd-card {
    background: linear-gradient(145deg, rgba(224, 237, 255, 0.92), rgba(255, 231, 212, 0.78));
  }

  .bhulekh-card {
    background: linear-gradient(145deg, rgba(222, 238, 255, 0.94), rgba(255, 232, 210, 0.80));
  }

  .project-card:hover,
  .project-card:focus-visible {
    border-color: rgba(15, 62, 105, 0.35);
    background: rgba(255, 255, 255, 0.88);
  }
}

.project-visual,
.project-content,
.visitor-counter,
.open-text,
.contact-card > * {
  position: relative;
  z-index: 1;
}

.project-visual {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-orb {
  width: min(88%, 176px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.98), rgba(255,255,255,0.78) 35%, rgba(255,255,255,0.40) 78%, rgba(255,255,255,0.14) 100%),
    linear-gradient(145deg, rgba(255,255,255,0.38), rgba(255,255,255,0.12));
  border: 2px solid rgba(255,255,255,0.58);
  box-shadow:
    inset 0 2px 12px rgba(255,255,255,0.50),
    0 16px 30px rgba(0,0,0,0.18),
    0 0 0 8px rgba(255,255,255,0.06);
}

.service-preview {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
  background: #ffffff;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.16));
  transition: transform 0.25s ease;
}

.rd-logo-preview,
.bhulekh-logo-preview {
  object-fit: contain;
  padding: 4px;
}

.project-card:hover .service-preview,
.project-card:focus-visible .service-preview {
  transform: scale(1.03);
}

.project-content {
  display: grid;
  gap: 10px;
  text-align: center;
}

.tag,
.contact-badge {
  width: fit-content;
  margin: 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #eaf8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

@media (prefers-color-scheme: light) {
  .tag,
  .contact-badge {
    color: #0c4777;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(12, 71, 119, 0.13);
  }
}

.project-content strong {
  font-size: clamp(1.05rem, 2vw, 1.65rem);
  line-height: 1.1;
}

.project-content small {
  color: var(--muted);
  font-size: 0.88rem;
}

.service-info {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.visitor-counter {
  width: min(100%, 230px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 2px;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(7, 18, 36, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 12px 22px rgba(0,0,0,0.14);
  color: var(--text);
}

.counter-live-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2eff72;
  box-shadow: 0 0 0 0 rgba(46, 255, 114, 0.68), 0 0 14px rgba(46, 255, 114, 0.88);
  animation: counterPulse 1.7s infinite;
}

.counter-text {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 1px;
}

.counter-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.counter-value {
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 950;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.counter-status {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.45px;
}

.project-card.counter-updated .visitor-counter {
  border-color: rgba(46, 255, 114, 0.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 3px rgba(46,255,114,0.10), 0 14px 28px rgba(0,0,0,0.18);
}

@keyframes counterPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 255, 114, 0.62), 0 0 14px rgba(46, 255, 114, 0.86);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(46, 255, 114, 0), 0 0 14px rgba(46, 255, 114, 0.86);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 255, 114, 0), 0 0 14px rgba(46, 255, 114, 0.86);
  }
}

@media (prefers-color-scheme: light) {
  .visitor-counter {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(12, 71, 119, 0.15);
  }

  .counter-label {
    color: rgba(12, 48, 84, 0.76);
  }

  .counter-value {
    color: #0d2442;
  }

  .counter-status {
    color: rgba(12, 48, 84, 0.58);
  }
}

.open-text {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #10233f;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.contact-option {
  margin-top: 28px;
}

.contact-card {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 24px 26px;
  border-radius: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 55%);
  pointer-events: none;
}

.contact-card h2 {
  margin: 14px 0 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.contact-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 1.04rem;
}


.contact-details {
  width: min(100%, 460px);
  margin: 16px auto 0;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.contact-details p {
  width: min(100%, 390px);
  margin: 0 !important;
  padding: 12px 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  gap: 4px;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.contact-details strong,
.contact-details a {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-help {
  max-width: 480px;
  margin: 0 auto 10px;
}

.contact-card a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
}

.wa-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 13px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(12, 83, 60, 0.26);
  text-decoration: none !important;
}

.wa-help-btn:hover,
.wa-help-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 18px 16px 24px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

@media (prefers-color-scheme: light) {
  .contact-card {
    background: rgba(255, 255, 255, 0.78);
  }

}


@media (max-width: 1020px) and (min-width: 761px) {
  .selector-page {
    width: min(100% - 22px, 980px);
  }

  .project-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    min-height: 390px;
    padding: 18px 14px;
    border-radius: 24px;
  }

  .project-visual {
    min-height: 150px;
  }

  .preview-orb {
    width: min(88%, 148px);
  }
}

@media (max-width: 760px) {

  .selector-page {
    width: min(100% - 12px, 560px);
    padding: 82px 0 20px;
  }

  .hero {
    margin-bottom: 18px;
  }

  .brand-pill {
    padding: 7px 12px;
    margin-bottom: 12px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.4rem);
  }

  .hero p {
    max-width: 320px;
    font-size: 0.92rem;
  }

  .project-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .project-card {
    min-height: 350px;
    border-radius: 16px;
    padding: 12px 8px;
    gap: 8px;
  }

  .project-card::after {
    width: 90px;
    height: 90px;
    right: -45px;
    top: -45px;
  }

  .project-visual {
    min-height: 100px;
  }

  .preview-orb {
    width: min(100%, 96px);
    padding: 4px;
    border-width: 1px;
    box-shadow:
      inset 0 2px 8px rgba(255,255,255,0.45),
      0 10px 18px rgba(0,0,0,0.16),
      0 0 0 4px rgba(255,255,255,0.06);
  }

  .project-content {
    gap: 5px;
  }

  .tag {
    padding: 4px 6px;
    font-size: 8px;
    letter-spacing: 0.35px;
  }

  .project-content strong {
    font-size: clamp(0.82rem, 4vw, 1.05rem);
    letter-spacing: -0.2px;
  }

  .project-content small {
    display: block;
    font-size: 0.65rem;
    line-height: 1.24;
  }

  .service-info {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.3;
    color: var(--muted);
  }

  .visitor-counter {
    width: 100%;
    gap: 3px;
    padding: 5px 3px;
    border-radius: 10px;
  }

  .counter-live-dot {
    width: 6px;
    height: 6px;
  }

  .counter-text {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 1px;
  }

  .counter-label {
    font-size: 0.44rem;
    letter-spacing: 0.18px;
    line-height: 1;
  }

  .counter-value {
    font-size: 0.72rem;
  }

  .counter-status {
    display: none;
  }

  .open-text {
    padding: 7px 6px;
    border-radius: 10px;
    font-size: 0.66rem;
    white-space: nowrap;
  }

  .contact-option {
    margin-top: 18px;
  }

  .contact-card {
    padding: 22px 18px;
    border-radius: 22px;
  }
}

@media (max-width: 380px) {
  .project-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-card {
    min-height: 320px;
    padding: 12px 10px;
  }

  .preview-orb {
    width: min(100%, 108px);
  }

  .project-visual {
    min-height: 112px;
  }

  .project-content strong {
    font-size: 1rem;
  }

  .open-text {
    font-size: 0.72rem;
    padding: 7px 8px;
  }
}


@media (min-width: 381px) and (max-width: 430px) {
  .project-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .project-card {
    min-height: 350px;
  }

  .project-content {
    gap: 4px;
  }

  .project-content small {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .service-info {
    -webkit-line-clamp: 6;
    font-size: 0.58rem;
    line-height: 1.24;
  }
}

@media (prefers-reduced-motion: reduce) {

  .project-card,
  .project-card:hover,
  .project-card:focus-visible,
  .project-card:hover .service-preview,
  .project-card:focus-visible .service-preview,
  .wa-help-btn:hover,
  .wa-help-btn:focus-visible {
    transform: none;
  }

  .counter-live-dot {
    animation: none;
  }
}
