:root {
  --bg: #0e1a30;
  /* Primary brand color */
  --bg-2: #0b1425;
  /* Deeper shade */
  --text: #ffffff;
  --muted: #b7c3d7;
  --card: #0f223f;
  --glass: rgba(255, 255, 255, 0.06);
  --accent: #ffffff;
  --ring: rgba(255, 255, 255, 0.15);
  --shadow: rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% 0%, #11264a 0%, var(--bg) 40%, var(--bg-2) 100%);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(1.5) blur(6px);
  background: linear-gradient(180deg, rgba(14, 26, 48, 0.9), rgba(14, 26, 48, 0.6));
  border-bottom: 1px solid var(--ring);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--shadow);
  background: var(--glass)
}

.brand-logo.small {
  width: 32px;
  height: 32px
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: 0.2px
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500
}

.nav a:hover {
  color: var(--text)
}

.btn {
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--ring);
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
    position: relative;
  z-index: 5;
}
.btn i {
  margin-right: 8px;
  font-size: 18px;
  line-height: 0;
}


.btn--primary {
  background: var(--text);
  color: #0a1426;
  border-color: transparent;
  box-shadow: 0 10px 24px var(--shadow);
    transition: 0.3s ease-out;

}

.btn--primary:hover {
  filter: brightness(0.90);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}


.btn--ghost {
  background: transparent;
  color: var(--text);
  transition: 0.3s ease-out;
}
.btn--ghost:hover {
  filter: brightness(0.90);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  position: relative
}

.hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s
}

.hamburger span:nth-child(1) {
  top: 14px
}

.hamburger span:nth-child(2) {
  top: 21px
}

.hamburger span:nth-child(3) {
  top: 28px
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.hero {
  padding: 64px 0 32px
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 12px
}

.accent {
  background: linear-gradient(92deg, #fff, #dfe8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.lead {
  color: var(--muted);
  font-size: 1.1rem
}

.cta-row {
  display: flex;
  flex-wrap: wrap;           /* mobile پر آپ سے نیچے آ جائیں گے */
  /* justify-content: center;   center alignment */
  gap: 14px;
  margin: 22px 0 14px;
}

/* Buttons equal width on small screens */
@media (max-width: 600px) {
  .cta-row a {
    flex: 1 1 100%;         /* ہر button پورے width پر آئے گا */
    text-align: center;
  }
}


.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0
}

.badges li {
  border: 1px dashed var(--ring);
  padding: 8px 12px;
  border-radius: 999px;
  color: #d8e0ef;
  font-size: .92rem;
  background: rgba(255, 255, 255, 0.02)
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--ring);
  border-radius: 20px;
  box-shadow: 0 18px 40px -22px var(--shadow)
}

.glass {
  backdrop-filter: blur(10px) saturate(1.1);
  background: var(--glass);
  height: 70%;
}

.hero-visual {
  padding: 22px;
  position: relative;
  overflow: hidden;
  height: auto;
}





/* Camera notch */
.phone-mock .status {
  height: 26px;
  border-bottom: 1px solid #1e3359;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
  align-items: center;
}

/* Center Camera Notch */
.camera {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #111;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

/* NFC Waves in status bar (right side) */
.status-waves {
  display: flex;
  gap: 3px;
  margin-right: 10px;
}

.status-waves span {
  width: 4px;
  height: 10px;
  background: #4da3ff;
  border-radius: 2px;
  animation: wave 1.2s infinite ease-in-out;
}

.status-waves span:nth-child(2) {
  animation-delay: 0.2s;
}

.status-waves span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes wave {

  0%,
  100% {
    transform: scaleY(0.5);
  }

  50% {
    transform: scaleY(1.4);
  }
}




/* .phone-mock {
  width: min(360px, 90%);
  height: 600px;
  margin: 20px auto 8px;
  aspect-ratio: 9/19;
  border-radius: 34px;
  background: linear-gradient(180deg, #0c1b31, #0b1627);
  border: 1px solid #1e3359;
  box-shadow: 0 28px 80px -30px #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-mock .screen {
  flex: 1; /* full height except status *
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
} */

/* .phone-mock .status {
  height: 26px;
  border-bottom: 1px solid #1e3359;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent)
} */

/* .phone-mock .screen {
  padding: 20px
} */


.phone-mock {
  width: min(275px, 90%);
  height: 600px;
  margin: 20px auto 8px;
  aspect-ratio: 9/19;
  border-radius: 20px;
  background: linear-gradient(180deg, #0c1b31, #0b1627);
  border: 1px solid #1e3359;
  box-shadow: 0 28px 80px -30px #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-mock .screen {
  flex: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;

  justify-content: flex-start;
  overflow: hidden;
}

/* Fixed background image inside screen */
/* .phone-mock .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 👈 fills screen like wallpaper *
  border-radius: 0;
  display: block;
} */

/* .avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(180deg, #11264a, #293650);
  margin: 10px auto
}
.avatar img{
  width: 76px;
  height: 76px;
  border-radius: 50%;
      box-shadow: 0 0 12px rgba(83, 110, 151, 0.5);

} */

.screen h3 {
  text-align: center;
  margin: 10px 0 2px
}

.muted {
  text-align: center;
  color: #b8c4d8;
  margin: 0 0 16px
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center
}

.pill {
  padding: 8px 12px;
  background: #102544;
  border: 1px solid #1f3963;
  border-radius: 999px
}

.section {
  padding: 64px 0
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.00));
  border-top: 1px solid var(--ring);
  border-bottom: 1px solid var(--ring)
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 24px
}

.grid {
  display: grid;
  gap: 18px
}

.features-grid {
  grid-template-columns: repeat(3, 1fr)
}

.feature {
  padding: 18px;
}

.feature .icon {
  font-size: 1.6rem;
  margin-bottom: 8px
}
.card.feature {
  padding: 18px 20px; /* smaller than before */
  border-radius: 12px;
  background-color: #1e293b; /* dark blue */
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.card.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.card.feature p {
  font-size: 0.9rem;
  line-height: 1.4;
}
.features-flex {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.feature-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start; /* prevent video from stretching */
}

.feature-video {
  flex: 0 0 380px; /* Fixed width */
}

.feature-video video {
  width: 100%;
  max-width: 380px;
  height: 580px; /* stable height */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

.features-cards {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns like your screenshot */
  gap: 7px;
}





.steps {
  display: grid;
  gap: 10px;
  counter-reset: step
}

.steps li {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--ring);
  border-radius: 16px;
  padding: 14px 16px;
  list-style: none;
  position: relative;
  padding-left: 52px
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f2443;
  border: 1px solid #24426e
}

.faq details {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--ring);
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 12px
}

.faq summary {
  cursor: pointer;
  padding: 10px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
  /* default arrow hatado */
}

/* custom arrow */
.faq summary::after {
  content: "➤";
  /* arrow icon */
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
  font-size: 14px;
}

/* rotate when open */
.faq details[open] summary::after {
  transform: rotate(90deg);
}

.cta-strip {
  padding: 28px 0;
  border-top: 1px solid var(--ring);
  border-bottom: 1px solid var(--ring);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.00))
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.cta-strip h3 {
  margin: 0
}

/* contact us */
.contact-section {
  background: linear-gradient(180deg, #0c1b31, #0b1627);
  padding: 10px 20px;
  text-align: center;
}

.contact-heading {
  font-size: 2rem;
  margin-bottom: 35px;
  color: #4da6ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 2px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: center;
  /* 🔥 متن justify */
}

.contact-item {
  text-align: center;
  /* د phone/email لپاره ښکلی */
}

.contact-item p,
.contact-item a {
  text-align: justify;
  /* د اوږدو texts لپاره لکه Location */
}

.contact-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

.icon-label {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #4da6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.icon-label span {
  font-size: 28px;
}

.contact-item a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  display: block;
  margin-top: 5px;
  transition: color 0.3s ease;
  text-align: center;
  /* 🔥 لینکونه هم justify */
}

.contact-item a:hover {
  color: #4da6ff;
}

.map-container {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.05);
}



/* slider css */
.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.slides-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
  /* smooth slide */
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}


/* footer */
.site-footer {
  background: #0c1b31;
  /* dark background */
  color: #ffffff;
  /* white text */
  padding: 30px 20px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  font-size: 0.85rem;
  color: #aaa;
}

/* four Cards  */

.cards-wrapper {
  margin: 50px auto;
  text-align: center;
}

.cards-heading {
  font-size: 1.6rem;
  color: #4da6ff;
  /* AfghanEasyTap accent blue */
  margin-bottom: 30px;
  font-weight: 600;
  line-height: 1.5;
}

.cards-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px auto;
  padding: 0 20px;
}

.cards {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--ring, #1e3359);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px) saturate(1.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
}

.cards img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cards h3 {
  font-size: 1.2rem;
  color: #4da6ff;
  /* accent blue */
  margin: 14px;
  text-align: center;
}

.cards p {
  padding: 0 16px 18px;
  color: #d8e0ef;
  font-size: 0.95rem;
  text-align: justify;
  line-height: 1.5;
}


/* Privacy Section Css  */
.privacy-section {
  background: #0c1b31;
  color: #e0e0e0;
  padding: 40px 20px;
  border-radius: 12px;
}

.privacy-section h2 {
  font-size: 1.8rem;
  color: #4da6ff;
  margin-bottom: 15px;
}

.privacy-section h3 {
  margin-top: 25px;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  border-left: 4px solid #4da6ff;
  padding-left: 10px;
}

.privacy-section ul {
  margin: 10px 0 20px 20px;
  line-height: 1.6;
}

.privacy-section ul li {
  margin-bottom: 8px;
}



/* .privacy-section {
  background: #f8f9fb;
  padding: 30px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
} */
.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#seeMoreBtn {
  padding: 8px 16px;
  border: none;
  background: #2563eb;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
#seeMoreBtn:hover {
  background: #1e4fc5;
}

/* Collapsed by default */
#privacyContent {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}
#privacyContent.show {
  max-height: 2000px;
}


.privacy-left p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
}

.privacy-right {
  text-align: right;
}



#privacyContent {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-in-out;
  /* background: #1f2937; */
  padding: 0 15px;
  margin-top: 20px;
  border-radius: 6px;
}

#privacyContent h3 {
  font-size: 18px;
  margin: 15px 0;
  color: #93c5fd;
}

#privacyContent p {
  font-size: 15px;
  line-height: 1.7;
  color: #ddd;
  text-align: justify;
}

.lang-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #374151;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  color: #f3f4f6;
  cursor: pointer;
}

.lang-btn:hover {
  background: #2563eb;
}

/* Tablet and below */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  /* Footer responsive at tablet */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .feature-video {
    max-width: 100%;
      object-fit: cover;

  }

  .feature-video video {
    width: 100%;
    max-width: 100%;
    height: 480px; /* smaller for mobile */
    border-radius: 14px;

  }
}
/* Mobile and below */
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 64px;
    background: rgba(6, 12, 24, 0.98);
    border: 1px solid var(--ring);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    width: 200px;
  }
.features-cards {
  grid-template-columns: 1fr;
 }
 .cards-section
 {
    grid-template-columns: 1fr;
}
.features-flex {
        flex-direction: column;
    }
  .nav.open {
    display: flex;
  }

  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cta-strip-inner {
    flex-direction: column;
    text-align: center;
  }

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

  /* Footer responsive at mobile */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

/* Responsive: stack on mobile */
@media (max-width: 960px) {
 .features-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

/* .features-cards {
  flex: 1 1 500px;
} */
 

.feature-section {
    flex-direction: column; /* Move video under cards */
    align-items: center;
  }

  .feature-video {
    flex: none;
    /* width: 100%; */
    max-width: 420px;
    margin-top: 20px;
      object-fit: contain;

  }

  .feature-video video {
    max-width: 420px;
    height: 520px;

  }
}
