/*
Theme Name: NOOR BALOCH Growth
Theme URI: http://noorkhan.local
Author: NOOR BALOCH
Author URI: http://noorkhan.local
Description: Premium Digital Marketing & Growth Strategist Portfolio Theme with Elementor and Rank Math SEO support.
Version: 1.0.1
Text Domain: noorkhan
*/

/* ================= 1. VIEWPORT & OVERFLOW CONTAINMENT ================= */
html {
  background-color: #0a1128 !important;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

/* WordPress Admin Bar Compatibility for Sticky Header */
.admin-bar header.sticky {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar header.sticky {
    top: 46px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

main, header, footer, section {
  max-width: 100vw;
  overflow-x: clip;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* ================= 2. SMOOTH SCROLLBAR & NO-SCROLLBAR UTILITIES ================= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0a1128; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff5722; }

/* No-scrollbar utility for mobile swipeable pills & horizontal tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* ================= 3. TOUCH & TAP TARGETS ================= */
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

/* ================= 4. CARD SHADOWS & MICRO-INTERACTIONS ================= */
.card-shadow {
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
}
.card-shadow-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
  .card-shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  }
}

.badge-pulse {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ================= 5. MOBILE TYPOGRAPHY & PADDING SAFEGUARDS ================= */
@media (max-width: 640px) {
  h1 {
    word-break: break-word;
    letter-spacing: -0.02em;
  }
  h2 {
    word-break: break-word;
    letter-spacing: -0.01em;
  }
  .card-shadow {
    box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.05);
  }
}
