/* ==========================================================================
   SHUJAOLOGY - OFFICIAL PERSONAL & ENTERPRISE PORTAL
   Founder: Shuja
   Dimensions: 15-Yr Oil & Gas Material Management | SAP MM & Oracle Expert
               Software & Web Developer | Philosophical Writer | Urdu Poet
   Official Hotline & WhatsApp: 0092 3326 000 803 | Portal: Shujaology.com
   ========================================================================== */

:root {
  /* Ultra-Dark Jet Black & Obsidian Color Palette */
  --bg-primary: #030508;
  --bg-secondary: #070a0f;
  --bg-card: rgba(11, 15, 23, 0.85);
  --bg-card-hover: rgba(18, 24, 38, 0.95);
  --bg-glass: rgba(7, 10, 16, 0.75);
  --bg-accent-subtle: rgba(59, 130, 246, 0.06);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #030508;

  /* Refined Accent Highlights */
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.35);
  --secondary: #06b6d4;
  --secondary-glow: rgba(6, 182, 212, 0.3);
  --gold: #d97706;
  --gold-light: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --accent: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #8b5cf6 100%);
  --accent-gradient-hover: linear-gradient(135deg, #2563eb 0%, #0891b2 50%, #7c3aed 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);

  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.25);
  --warning: #f59e0b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(59, 130, 246, 0.5);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-gold: rgba(245, 158, 11, 0.3);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 35px var(--primary-glow);
  --shadow-gold-glow: 0 0 30px var(--gold-glow);

  /* Layout */
  --container-max: 1260px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CRITICAL IMAGE SIZE SAFEGUARDS */
img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.nav-monogram-img, .logo img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.7) !important;
}

.hero-seal-badge-img, .hero-seal-badge img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  border: 1.5px solid #f59e0b !important;
}

.hub-founder-monogram-badge img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.floating-tag img {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: inline-block !important;
}


/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Atmosphere Glows */
.bg-ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 550px;
  height: 550px;
  background: #1e3a8a;
  top: -120px;
  right: -100px;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: #701a75;
  top: 45%;
  left: -180px;
  animation-duration: 25s;
}

.glow-orb-3 {
  width: 450px;
  height: 450px;
  background: #0e7490;
  bottom: 5%;
  right: -80px;
  animation-duration: 18s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, 25px) scale(1.06); }
  100% { transform: translate(-30px, -20px) scale(0.96); }
}

/* Global Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.serif-font {
  font-family: var(--font-serif);
}

.urdu-text {
  font-family: var(--font-urdu);
  direction: rtl;
  text-align: right;
  line-height: 2.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  vertical-align: middle;
}

/* Top Notification / Contact Bar */
.top-bar {
  background: rgba(3, 5, 8, 0.96);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
  z-index: 50;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #10b981; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

.top-link:hover {
  color: var(--primary-light);
}

.top-link-highlight {
  color: #38bdf8;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(3, 5, 8, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #030508 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 40%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.4rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.2rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  border-color: var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #030508;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
  color: #030508;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-light);
  border-color: rgba(59, 130, 246, 0.4);
}

.btn-outline-primary:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #10b981;
  color: #ffffff;
  border-color: #059669;
}

.btn-whatsapp:hover {
  background: #059669;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Hero Section with Shuja Portrait */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-tag-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: #cbd5e1;
}

.hero-tag-chip.chip-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.hero-tag-chip.chip-cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: #38bdf8;
}

.hero-tag-chip.chip-purple {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 640px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-icon {
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Portrait Visual Card */
.portrait-hero-wrap {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.portrait-frame-card {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.15), transparent 70%),
              linear-gradient(145deg, #0d121d 0%, #04070d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  overflow: hidden;
}

.portrait-img-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0f17;
  line-height: 0;
}

.portrait-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.05) brightness(0.98);
}

.portrait-hero-wrap:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-meta-bar {
  padding: 1.15rem 0.5rem 0.25rem;
  text-align: center;
}

.portrait-meta-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.portrait-meta-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Floating Badges on Portrait */
.floating-tag {
  position: absolute;
  background: rgba(11, 15, 23, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  backdrop-filter: blur(10px);
  animation: floatTag 6s ease-in-out infinite;
}

.tag-top-left {
  top: 20px;
  left: -20px;
}

.tag-bottom-right {
  bottom: 35px;
  right: -20px;
  animation-delay: -3s;
  border-color: rgba(245, 158, 11, 0.4);
}

@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 5 Facets Navigation Strip */
.facets-strip {
  padding: 2.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.facets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.facet-nav-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.facet-nav-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.facet-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #38bdf8;
}

.facet-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.facet-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Stats Section */
.stats-section {
  padding: 4.5rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #ffffff 30%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-number.gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag.tag-gold {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* SAP MM & Oracle Tips & Tricks Section */
.sap-section {
  padding: 5.5rem 0;
  background: radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.08), transparent 60%),
              var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.sap-search-bar {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.sap-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.sap-tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.sap-tip-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.15);
}

.sap-tip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sap-tcode-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.sap-category-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
}

.sap-tip-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.sap-tip-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.sap-tip-formula {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: #a3e635;
  margin-bottom: 1rem;
}

.sap-tip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Oil & Gas 15-Year Material Management Section */
.oilgas-section {
  padding: 5.5rem 0;
  position: relative;
}

.oilgas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.oilgas-card-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.oilgas-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.oilgas-timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.oilgas-timeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Urdu Poetry Section */
.poetry-section {
  padding: 5.5rem 0;
  background: radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.1), transparent 70%),
              var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.poetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.poetry-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.85) 0%, rgba(8, 12, 20, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.poetry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 92, 246, 0.25);
}

.poetry-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.poetry-verse-urdu {
  font-family: var(--font-urdu);
  font-size: 1.45rem;
  line-height: 2.4;
  color: #f1f5f9;
  direction: rtl;
  text-align: right;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.poetry-translation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.poetry-philosophical-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
  margin-top: auto;
}

/* Philosophy & Academic Writings Section */
.philosophy-section {
  padding: 5.5rem 0;
  position: relative;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.philosophy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
}

.philosophy-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.philosophy-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.philosophy-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Services / Software Section */
.services-section {
  padding: 5.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin-bottom: 1.4rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.service-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.service-deliverables {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-deliverable-item {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-deliverable-item svg {
  color: #10b981;
  flex-shrink: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* Contact & Discovery Section */
.contact-section {
  padding: 5.5rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
  text-decoration: none;
}

.channel-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateX(5px);
  background: var(--bg-card-hover);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-phone {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.icon-whatsapp {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.icon-web {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.icon-email {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
}

.channel-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
}

.channel-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(11, 15, 23, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #ffffff;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  background: rgba(11, 15, 23, 0.95);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit-btn {
  width: 100%;
  padding: 0.95rem;
  font-size: 1.05rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

/* Footer */
.footer {
  background: #020306;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-about p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 340px;
}

.footer-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #38bdf8;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--text-muted);
}

/* Floating WhatsApp / Contact Pill */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #10b981;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  background: #059669;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.55);
  color: #ffffff;
}

.whatsapp-icon-pulse {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Back to Top Pill */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: rgba(11, 15, 23, 0.85);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #0b0f17;
  border: 1px solid #3b82f6;
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portrait-hero-wrap {
    max-width: 380px;
  }

  .facets-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sap-tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .oilgas-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .facets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sap-tips-grid {
    grid-template-columns: 1fr;
  }

  .poetry-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background: #030508;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions {
    display: none;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.75rem;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .facets-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   AUTHENTIC URDU POETRY STYLING - KALAAM-E-SHUJA
   ========================================================================== */

.poetry-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.poetry-work-card {
  background: linear-gradient(145deg, #090e17 0%, #04060a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.poetry-work-card.card-naat {
  border-color: rgba(16, 185, 129, 0.35);
}

.poetry-work-card.card-naat:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.15);
}

.poetry-work-card.card-ghazal {
  border-color: rgba(192, 132, 252, 0.35);
}

.poetry-work-card.card-ghazal:hover {
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(192, 132, 252, 0.15);
}

.poetry-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.poetry-genre-tag {
  font-family: var(--font-urdu);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.tag-naat {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-ghazal {
  background: rgba(192, 132, 252, 0.12);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.poetry-takhallus {
  font-family: var(--font-urdu);
  font-size: 1.25rem;
  color: #fbbf24;
  font-weight: 700;
}

.poetry-title-urdu {
  font-family: var(--font-urdu);
  font-size: 1.75rem;
  color: #ffffff;
  direction: rtl;
  text-align: center;
  margin-bottom: 0.35rem;
  line-height: 1.8;
}

.poetry-subtitle-english {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.couplets-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.couplet-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  text-align: center;
  direction: rtl;
  transition: var(--transition);
}

.couplet-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.01);
}

.couplet-misra {
  font-family: var(--font-urdu);
  font-size: 1.45rem;
  line-height: 2.3;
  color: #f8fafc;
  display: block;
}

.couplet-item:hover .couplet-misra {
  color: #ffffff;
}

.couplet-ornament {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.25rem 0;
  opacity: 0.6;
}

.card-naat .couplet-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.card-ghazal .couplet-item:hover {
  border-color: rgba(192, 132, 252, 0.3);
}

.poetry-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.poetry-author-label {
  font-family: var(--font-urdu);
  font-size: 1.05rem;
  color: #cbd5e1;
  direction: rtl;
}

@media (max-width: 1024px) {
  .poetry-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .poetry-work-card {
    padding: 1.75rem 1.25rem;
  }

  .couplet-misra {
    font-size: 1.25rem;
    line-height: 2.1;
  }
}


/* ==========================================================================
   RASM-UL-KHAT (SCRIPT) SELECTOR STYLING - URDU / ROMAN / HINDI
   ========================================================================== */

:root {
  --font-hindi: 'Noto Sans Devanagari', 'Mangal', 'Kokila', sans-serif;
}

.rasm-khat-selector-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.rasm-khat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.rasm-khat-label svg {
  color: var(--gold-light);
}

.rasm-khat-btn-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.script-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.script-btn:hover {
  color: #ffffff;
}

.script-btn.active {
  background: var(--gold-gradient);
  color: #030508;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Script Typography Modes */
.poetry-work-card.mode-urdu .couplet-item {
  direction: rtl;
  text-align: center;
}

.poetry-work-card.mode-urdu .couplet-misra {
  font-family: var(--font-urdu);
  font-size: 1.45rem;
  line-height: 2.3;
}

.poetry-work-card.mode-roman .couplet-item {
  direction: ltr;
  text-align: center;
}

.poetry-work-card.mode-roman .couplet-misra {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #e2e8f0;
}

.poetry-work-card.mode-hindi .couplet-item {
  direction: ltr;
  text-align: center;
}

.poetry-work-card.mode-hindi .couplet-misra {
  font-family: var(--font-hindi);
  font-size: 1.25rem;
  line-height: 2.1;
  font-weight: 600;
  color: #f1f5f9;
}

@media (max-width: 600px) {
  .rasm-khat-selector-wrap {
    border-radius: var(--radius-lg);
    padding: 0.85rem;
  }
  
  .rasm-khat-btn-group {
    width: 100%;
    justify-content: center;
  }

  .script-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   SDM PRO (SHUJA DOWNLOAD MANAGER) SHOWCASE COMPONENT
   ========================================================================== */
.sdm-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 65%),
              radial-gradient(circle at 10% 50%, rgba(99, 102, 241, 0.10) 0%, transparent 50%),
              #030508;
  position: relative;
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.sdm-container-card {
  background: rgba(8, 13, 25, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: 0 0 40px -10px rgba(0, 242, 254, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.sdm-container-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00f2fe, #38bdf8, #6366f1, #10b981);
}

.sdm-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 968px) {
  .sdm-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sdm-container-card {
    padding: 2rem 1.5rem;
  }
}

.sdm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #00f2fe;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sdm-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.sdm-title span {
  background: linear-gradient(135deg, #00f2fe, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sdm-tagline {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.sdm-downloads-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.btn-sdm-download {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 0.92rem;
  font-family: var(--font-mono);
  text-decoration: none;
  transition: var(--transition);
  background: linear-gradient(135deg, #00f2fe, #0ea5e9);
  color: #040812;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.35);
  border: none;
  cursor: pointer;
}

.btn-sdm-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.55);
  color: #000000;
}

.btn-sdm-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  text-decoration: none;
  transition: var(--transition);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
}

.btn-sdm-ext:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #34d399;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sdm-suite {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  text-decoration: none;
  transition: var(--transition);
  background: rgba(30, 27, 75, 0.5);
  border: 1px solid rgba(129, 140, 248, 0.4);
  color: #a5b4fc;
}

.btn-sdm-suite:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #a5b4fc;
  color: #ffffff;
  transform: translateY(-2px);
}

.sdm-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #64748b;
}

.sdm-specs-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sdm-specs-row strong {
  color: #e2e8f0;
}

.sdm-preview-box {
  background: #050914;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  position: relative;
}

.sdm-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 1.25rem;
}

.sdm-preview-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.sdm-dots {
  display: flex;
  gap: 0.4rem;
}

.sdm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sdm-dot-red { background: #ef4444; }
.sdm-dot-yellow { background: #f59e0b; }
.sdm-dot-green { background: #10b981; }

.sdm-stream-visual {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.sdm-stream-bar {
  height: 48px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3px;
}

.sdm-stream-fill {
  width: 100%;
  background: linear-gradient(0deg, #00f2fe, #38bdf8);
  border-radius: 4px;
  animation: pulse-stream 1.5s ease-in-out infinite alternate;
}

@keyframes pulse-stream {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.sdm-metric-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #0b1329;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}


/* ==========================================================================
   SHUJAOLOGY HUB - INTRODUCTORY & TABBED EXPLORER STYLING
   ========================================================================== */

.about-hub-section {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.4) 0%, rgba(3, 5, 8, 0.95) 100%);
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.about-hub-overview {
  background: rgba(11, 15, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-hub-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #38bdf8, #8b5cf6, #f43f5e);
}

.about-hub-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-hub-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-hub-narrative h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.about-hub-narrative p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.about-hub-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.about-hub-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.about-hub-highlight-icon {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.hub-founder-profile-card {
  background: #070d18;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hub-founder-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  padding: 3px;
  background: linear-gradient(135deg, #f59e0b, #38bdf8);
}

.hub-founder-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hub-founder-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.hub-founder-role {
  font-size: 0.82rem;
  color: #fbbf24;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hub-founder-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* 4 Core Pillars Grid */
.hub-pillars-title-bar {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hub-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .hub-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hub-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.hub-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hub-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.hub-pillar-card.pillar-scm:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15);
}

.hub-pillar-card.pillar-softwares:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15);
}

.hub-pillar-card.pillar-philosophy:hover {
  border-color: rgba(244, 63, 94, 0.5);
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.15);
}

.hub-pillar-card.pillar-literature:hover {
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 12px 30px rgba(192, 132, 252, 0.15);
}

.hub-pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hub-pillar-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.hub-pillar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.hub-pillar-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.hub-pillar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.hub-pillar-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ==========================================================================
   HUB EXPLORER TABS STYLING
   ========================================================================== */

.hub-explorer-section {
  padding: 3.5rem 0 6rem;
  background: var(--bg-primary);
  position: relative;
}

.hub-tabs-sticky-wrap {
  position: sticky;
  top: 70px;
  z-index: 95;
  background: rgba(3, 5, 8, 0.94);
  backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hub-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.25rem 0.5rem;
  scrollbar-width: none;
}

.hub-tabs-nav::-webkit-scrollbar {
  display: none;
}

.hub-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.hub-tab-btn:hover {
  color: #ffffff;
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.hub-tab-btn.active {
  color: #ffffff;
  background: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hub-tab-btn[data-tab="supply-chain"].active {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(15, 23, 42, 0.9));
}

.hub-tab-btn[data-tab="softwares"].active {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.9));
}

.hub-tab-btn[data-tab="philosophy"].active {
  border-color: #f43f5e;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(15, 23, 42, 0.9));
}

.hub-tab-btn[data-tab="literature"].active {
  border-color: #c084fc;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.35);
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.18), rgba(15, 23, 42, 0.9));
}

.hub-tab-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

/* Tab Panels */
.hub-tab-panel {
  display: none;
}

.hub-tab-panel.active {
  display: block;
  animation: hubTabFadeIn 0.35s ease-out forwards;
}

@keyframes hubTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hub-tab-header-banner {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hub-tab-header-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.hub-tab-header-banner p {
  color: var(--text-muted);
  font-size: 0.92rem;
}


/* ==========================================================================
   OFFICIAL SHUJAOLOGY MONOGRAM STYLING (SYSTEMS • PHILOSOPHY • ART)
   ========================================================================== */

.nav-monogram-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
  border: 1.5px solid rgba(245, 158, 11, 0.65);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  flex-shrink: 0;
}

.logo:hover .nav-monogram-img {
  transform: rotate(6deg) scale(1.06);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.75);
}

.hero-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.15rem 0.4rem 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.hero-seal-badge-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.hero-seal-badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fbbf24;
  letter-spacing: 0.5px;
}

.hero-subtitle-tagline {
  font-size: 1.2rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-subtitle-tagline {
    font-size: 1.05rem;
  }
}

.hub-founder-monogram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hub-founder-monogram-badge img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.hub-founder-monogram-badge span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.monogram-tenets-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #f59e0b;
  margin-top: 0.75rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
}
