:root {
  --navy: #052b5d;
  --page-bg: #090f1e;
  --card: #ffffff;
  --text: #151515;
  --muted: #6c7280;
  --green: #1fae58;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
    font-family: 'Almarai', sans-serif;
}
body {
  margin: 0;
  overflow: hidden !important;
  background: #f5f6f9;
}

a,
button {
  font: inherit;
}

.qr-page-loader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0d1628;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.qr-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-img {
  width: min(58vw, 280px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.35));
  animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.qrc-page-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--page-bg);
  color: #fff;

  /* Hide scrollbar */
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge */
}

.qrc-page-wrapper::-webkit-scrollbar {
  display: none;              /* Chrome/Safari */
}
.pg-background {
  position: fixed;
  inset: 0;
  max-width: 480px;
  margin: 0 auto;
  background:
    linear-gradient(132deg, rgba(30, 49, 96, 0.72) 0 14%, transparent 14% 24%, rgba(24, 34, 70, 0.9) 24% 45%, transparent 45% 66%, rgba(3, 13, 24, 0.75) 66%),
    linear-gradient(45deg, rgba(23, 54, 108, 0.75) 0 11%, transparent 11% 58%, rgba(0, 38, 84, 0.72) 58% 61%, transparent 61%),
    radial-gradient(circle at 18% 72%, rgba(34, 56, 108, 0.86), transparent 34%),
    linear-gradient(180deg, #071120 0%, #151c34 55%, #050a12 100%);
}

.qrc-page-inner {
  position: relative;
  z-index: 1;
  padding: 54px 22px 122px;
}

.section {
  margin-bottom: 24px;
}

.qrc-profile {
  text-align: center;
}

.qrc-profilepic {
  width: 196px;
  height: 196px;
  margin: 0 auto 34px;
  border-radius: 50%;
  background-image: url("https://cdn0030.qrcodechimp.com/qr/PROD/6547f48214f87f0b8606e1cf/fm/logo_akliano.png?v=1778269714072");
  background-size: cover;
  background-position: center;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.36));
}

.qrc-profile h1 {
  margin: 0;
  font-size: clamp(36px, 8.6vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.qrc-profile h1 br:first-child {
  display: none;
}

.qrc-profile p {
      color: #e38d0d;
  margin: 12px 0 54px;
  font-size: 24px;
  line-height: 1.25;
}

.qrc-social-links-list {
  display: grid;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.qr-cc-card {
  border-radius: 20px;
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
}

.link-click {
  min-height: 110px;
  display: grid;
  grid-template-columns: 52px 1fr 44px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
}

.qrc-social-icon {
  width: 64px;
  height: 64px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.menu-icon {
  background-image: url("assets/menu-i h.png");
}

.facebook-icon {
  background-image: url("assets/pngwing.com.png");
}

.qrc-social-text-heading {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.qrc-social-action {
width: 46px;
height: auto;
}

.qrc-contact {
  padding: 24px 22px 28px;
}

.qrc-contact-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.qrc-contact-hdr-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(#111 0 0) 20px 10px / 5px 24px no-repeat,
    linear-gradient(#111 0 0) 10px 20px / 24px 5px no-repeat,
    #eef0f5;
}

.qrc-contact-hdr-text {
  font-size: 31px;
  line-height: 1.2;
  font-weight: 800;
}

.qrc-contact-info,
.qrc-address-info {
  padding-top: 18px;
  border-top: 1px solid #e4e6eb;
}

.qrc-contact-info + .qrc-contact-info,
.qrc-address-info {
  margin-top: 18px;
}

.qrc-contact-info-title,
.qrc-address-info-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
}

.qrc-contact-number {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
      justify-content: space-between;

}

.qrc-contact-number a {
  color: #3F51B5;
    font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.whatsapp-link {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  font-size: 18px !important;
}

.qrc-address-text {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.qrc-direction-btn {
  min-height: 52px !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.direction-icon {
width: 26px;
    height: 26px;
    display: inline-block;
    background-image: url(assets/map.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.extra-button-wrapper {
  position: fixed;
  z-index: 10;
  right: 50%;
  bottom: 12px;
  width: min(436px, calc(100vw - 34px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: ltr;
  transform: translateX(50%);
  pointer-events: none;
}

.utility-buttons {
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
  pointer-events: auto;
}

.btn,
.qrc-addtocontact {
  border: 2px solid #626469;
  background: #242628;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
}

.btn {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.icon-qrcode,
.icon-share {
  width: 34px;
  height: 34px;
  display: block;
}

.icon-qrcode {
 background-image: url("assets/bg.png");
 background-size: contain;
    background-repeat: no-repeat;
}

.icon-share {
  position: relative;
}

.icon-share::before {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 3px;
  width: 22px;
  height: 16px;
  border: 4px solid #fff;
  border-top: 0;
}

.icon-share::after {
  content: "";
  position: absolute;
  top: 0;
  left: 11px;
  width: 14px;
  height: 26px;
  background:
    linear-gradient(#fff 0 0) 5px 4px / 4px 24px no-repeat,
    linear-gradient(135deg, transparent 0 43%, #fff 44% 70%, transparent 71%) 0 0 / 14px 14px no-repeat,
    linear-gradient(45deg, transparent 0 43%, #fff 44% 70%, transparent 71%) 0 0 / 14px 14px no-repeat;
}

.qrc-addtocontact {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px 8px 18px;
  border-radius: 44px;
  direction: rtl;
  pointer-events: auto;
}

.qrc-addtocontact-text {
  max-width: 104px;
  text-align: right;
  font-size: 20px;
  line-height: 1.16;
  font-weight: 800;
}

.qrc-addtocontact-circle {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  color: #1f2124;
  align-content: end;
}

.qrc-addtocontact-circle span {
  font-size: 70px;
  line-height: 1;
}

.qr-code-popup {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  place-items: center;
  padding: 28px 22px;
  overflow-y: auto;
  background: rgba(6, 11, 20, 0.92);
  color: #fff;
  text-align: center;
}

.qr-code-popup.show {
  display: grid;
}

.popup-close {
  position: fixed;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #101010;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.popup-profile img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 18px;
}

.popup-profile h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.2;
}

.popup-profile p {
  margin: 8px 0 24px;
  font-size: 22px;
  font-weight: 800;
}

.qr-placeholder img{
  width: 60%;
  height: auto;
}



.popup-actions button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 50%;
  bottom: 104px;
  min-width: 190px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(20, 22, 26, 0.94);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translate(50%, 14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

@media (max-width: 430px) {
  .qrc-page-inner {
    padding: 52px 18px 122px;
  }

  .qrc-profilepic {
    width: 188px;
    height: 188px;
    margin-bottom: 34px;
  }

  .qrc-profile h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .qrc-profile p {
    margin-bottom: 52px;
  }

  .link-click {
    min-height: 96px;
    grid-template-columns: 60px 1fr 34px;
    padding: 18px;
  }

  .qrc-social-icon {
    width: 56px;
    height: 56px;
  }

  .qrc-social-text-heading {
    font-size: 22px;
  }

  .btn {
    width: 64px;
    height: 64px;
  }

  .qrc-addtocontact {
    min-height: 68px;
    gap: 10px;
    padding: 7px 10px 7px 14px;
  }

  .qrc-addtocontact-text {
    max-width: 86px;
    font-size: 17px;
  }

  .qrc-addtocontact-circle {
    width: 48px;
    height: 48px;
  }

  .qrc-addtocontact-circle span {
    font-size: 60px;
  }
}
