/* ==========================================================================
   HASHTECH SERVICES - Master Stylesheet (Updated for Pakistan Market)
   Theme: Refined Dark Obsidian & Sophisticated Emerald Green (#00A859)
   Fonts: Urbanist & Outfit (Modern, High-Legibility, Premium)
   "A ONE-STOP, SIMPLE SOLUTION"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Dark Obsidian & Slate Backgrounds */
  --bg-deep: #050a12;
  --bg-primary: #070e1a;
  --bg-secondary: #0a1424;
  --bg-surface: #0e1a2f;
  --bg-card: rgba(14, 26, 47, 0.72);
  --bg-card-hover: rgba(18, 34, 62, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.035);

  /* Refined Brand Green Palette (Balanced Emerald, Not Harsh Neon) */
  --brand-green: #00A859;
  --brand-green-light: #10B981;
  --brand-green-hover: #059669;
  --brand-green-dark: #047857;
  --brand-green-glow: rgba(0, 168, 89, 0.22);
  --brand-green-subtle: rgba(0, 168, 89, 0.1);

  /* Clean Typography Colors */
  --text-white: #ffffff;
  --text-heading: #f8fafc;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-light: #e2e8f0;

  /* Glass Borders */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-light: rgba(255, 255, 255, 0.13);
  --border-green: rgba(0, 168, 89, 0.35);
  --border-green-active: rgba(16, 185, 129, 0.6);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 4px 20px rgba(0, 168, 89, 0.25);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00A859 0%, #059669 100%);
  --grad-primary-hover: linear-gradient(135deg, #10B981 0%, #00A859 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(16, 30, 54, 0.85) 0%, rgba(9, 18, 33, 0.95) 100%);
  --grad-badge: linear-gradient(90deg, rgba(0, 168, 89, 0.16) 0%, rgba(0, 168, 89, 0.04) 100%);

  /* Premium Modern Typography (Urbanist & Outfit) */
  --font-main: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Space Grotesk', 'Urbanist', sans-serif;

  /* Layout Constants */
  --header-height: 84px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-body);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-body);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #19273c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-green);
}

/* --------------------------------------------------------------------------
   3. Container & Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

.section-py {
  padding-top: 95px;
  padding-bottom: 95px;
  position: relative;
  z-index: 1;
}

.section-pb {
  padding-bottom: 95px;
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-green {
  color: var(--brand-green-light) !important;
}

.bg-surface {
  background-color: var(--bg-primary);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.relative { position: relative; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

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

/* Section Header Titles */
.section-header {
  margin-bottom: 48px;
}

.section-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--grad-badge);
  border: 1px solid var(--border-green);
  color: var(--brand-green-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.section-subtitle-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-green-light);
  box-shadow: 0 0 8px var(--brand-green-light);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 620px;
}

.section-desc.center {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges (Refined Elegant Emerald)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.btn-primary-glow {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--brand-green-glow);
}

.btn-primary-glow:hover {
  background: var(--grad-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 168, 89, 0.4);
  color: #ffffff;
}

.btn-outline-glow {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-heading);
  border: 1px solid var(--border-glass-light);
  backdrop-filter: blur(8px);
}

.btn-outline-glow:hover {
  background: rgba(0, 168, 89, 0.12);
  border-color: var(--brand-green-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.02rem;
}

.btn i {
  font-size: 1.1em;
  transition: transform 0.2s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

.pill-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  background: rgba(0, 168, 89, 0.12);
  color: var(--brand-green-light);
  border: 1px solid var(--border-green);
}

/* --------------------------------------------------------------------------
   5. Topbar & Header Navigation
   -------------------------------------------------------------------------- */
.topbar {
  background-color: #03070f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 7px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-body);
}

.topbar-item i {
  color: var(--brand-green-light);
}

.topbar-item a:hover {
  color: var(--brand-green-light);
}

.header-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 14, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.header-sticky.is-scrolled {
  background: rgba(5, 10, 18, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 168, 89, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 44px;
  width: auto;
}

/* Navigation Links */
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 28px 0;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--brand-green-light);
}

.main-nav > ul > li > a i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.main-nav > ul > li:hover > a i {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   6. Mega Menu Component (All 9 Services)
   -------------------------------------------------------------------------- */
.mega-menu-wrapper {
  position: static !important;
}

.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(10, 20, 36, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 168, 89, 0.25);
  border-bottom: 2px solid var(--brand-green);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
  padding: 32px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mega-menu-wrapper:hover .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 260px;
  gap: 20px;
}

.mega-service-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-col-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand-green-light);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-glass);
}

.mega-service-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
}

.mega-service-item:hover {
  background: rgba(18, 34, 60, 0.6);
  border-color: var(--border-green);
  transform: translateX(3px);
}

.mega-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0, 168, 89, 0.1);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mega-item-content h4 {
  font-size: 0.92rem;
  color: var(--text-heading);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-item-content p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 4px;
}

.mega-item-subtags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.mega-subtag {
  font-size: 0.68rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Mega Menu Promo Card */
.mega-promo-card {
  background: linear-gradient(145deg, rgba(0, 168, 89, 0.12) 0%, rgba(14, 26, 47, 0.8) 100%);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-promo-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.mega-promo-card p {
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--text-heading);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-area {
  position: relative;
  padding-top: 80px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 168, 89, 0.1);
  border: 1px solid var(--border-green);
  color: var(--brand-green-light);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green-light);
  position: relative;
}

.hero-badge-pill .pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-green-light);
  animation: rippleWave 1.8s infinite;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--brand-green-light);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.hero-stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero-stat-item h3 span {
  color: var(--brand-green-light);
}

.hero-stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Right Side Interactive Visual */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-main-card {
  width: 100%;
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(0, 168, 89, 0.12);
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-glass);
}

.hero-window-dots {
  display: flex;
  gap: 6px;
}

.hero-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.hero-window-dots span:nth-child(1) { background: #ef4444; }
.hero-window-dots span:nth-child(2) { background: #f59e0b; }
.hero-window-dots span:nth-child(3) { background: #10b981; }

.hero-card-services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.025);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.hero-service-row .info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-service-row .info i {
  color: var(--brand-green-light);
  font-size: 1.15rem;
}

.hero-service-row .status {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 168, 89, 0.12);
  color: var(--brand-green-light);
  font-weight: 700;
}

/* Floating Badges on Hero */
.hero-floating-badge {
  position: absolute;
  background: rgba(10, 20, 36, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.hero-floating-badge.badge-top {
  top: -15px;
  left: -15px;
}

.hero-floating-badge.badge-bottom {
  bottom: -15px;
  right: -10px;
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}

.badge-text-box h5 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.badge-text-box p {
  font-size: 0.72rem;
  color: var(--brand-green-light);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Marquee / Brand Ticker
   -------------------------------------------------------------------------- */
.brand-ticker-area {
  background: #03070f;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMarquee 26s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 30px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.ticker-item i {
  color: var(--brand-green);
  font-size: 1.2rem;
}

.ticker-item:hover {
  color: var(--brand-green-light);
}

/* --------------------------------------------------------------------------
   9. About Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.about-visual {
  position: relative;
}

.about-card-image {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 168, 89, 0.35);
}

.about-experience-badge h2 {
  font-size: 2rem;
  color: #ffffff;
  line-height: 1;
}

.about-experience-badge p {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.about-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.about-feature-item i {
  color: var(--brand-green-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   10. Core 9 Services Section
   -------------------------------------------------------------------------- */
.services-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.service-tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.service-tab-btn:hover,
.service-tab-btn.active {
  background: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-green);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 168, 89, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 168, 89, 0.1);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green-light);
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--grad-primary);
  color: #ffffff;
}

.service-card-title {
  font-size: 1.25rem;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-subitems-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

.service-subitem-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.service-subitem-row i {
  color: var(--brand-green-light);
  font-size: 0.95rem;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.service-price-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.service-price-tag strong {
  color: var(--brand-green-light);
  font-size: 1rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}

.service-card:hover .service-card-link {
  color: var(--brand-green-light);
}

/* --------------------------------------------------------------------------
   11. Spotlight: Print • Design • Brand • Promote
   -------------------------------------------------------------------------- */
.spotlight-area {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #071120 50%, var(--bg-deep) 100%);
  position: relative;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.spotlight-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.pillar-box {
  background: rgba(14, 26, 47, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition);
}

.pillar-box:hover {
  border-color: var(--border-green);
  background: rgba(18, 34, 62, 0.8);
  transform: translateY(-3px);
}

.pillar-box h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.spotlight-interactive-studio {
  background: var(--bg-surface);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 0 30px rgba(0, 168, 89, 0.15);
}

.studio-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.studio-tab-btn {
  flex: 1;
  padding: 9px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.studio-tab-btn.active {
  background: var(--brand-green);
  color: #ffffff;
}

.studio-preview-box {
  background: #040810;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-glass);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   12. Softec 4 Expandable Platform Panels
   -------------------------------------------------------------------------- */
.platform-area {
  background-color: #060d19;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.platform-panels-wrapper {
  display: flex;
  gap: 16px;
  height: 420px;
}

.platform-col {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.platform-col.active {
  flex: 2.8;
  background: linear-gradient(145deg, rgba(14, 26, 47, 0.95) 0%, rgba(8, 16, 30, 0.98) 100%);
  border-color: var(--brand-green-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 168, 89, 0.2);
}

.platform-col-collapsed {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.platform-col.active .platform-col-collapsed {
  display: none;
}

.platform-num-badge {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-green-light);
}

.platform-col-title-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.15rem;
  color: var(--text-heading);
  white-space: nowrap;
}

.platform-col-expanded {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.platform-col.active .platform-col-expanded {
  display: flex;
}

.platform-expanded-header {
  margin-bottom: 16px;
}

.platform-expanded-header span {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-green-light);
  display: block;
  margin-bottom: 6px;
}

.platform-expanded-header h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.platform-expanded-header p.tagline {
  color: var(--brand-green-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.platform-expanded-body p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 16px;
}

.platform-points-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.platform-points-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.platform-points-list li i {
  color: var(--brand-green-light);
}

/* --------------------------------------------------------------------------
   13. Interactive Live Quote Calculator (PKR Engine)
   -------------------------------------------------------------------------- */
.calculator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card), 0 0 35px rgba(0, 168, 89, 0.12);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.calc-step {
  margin-bottom: 28px;
}

.calc-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-step-title span.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #ffffff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-select-service {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: #050a12;
  border: 1px solid var(--border-glass-light);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.calc-checkboxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.calc-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition);
}

.calc-checkbox-item:hover,
.calc-checkbox-item.checked {
  background: rgba(0, 168, 89, 0.1);
  border-color: var(--border-green);
}

.calc-checkbox-item input[type="checkbox"] {
  accent-color: var(--brand-green);
  width: 16px;
  height: 16px;
}

.calc-checkbox-item label {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-heading);
  flex-grow: 1;
}

.calc-summary-box {
  background: linear-gradient(180deg, #091322 0%, #050a12 100%);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-header h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.calc-price-display {
  margin: 20px 0;
  padding: 18px;
  background: rgba(0, 168, 89, 0.08);
  border: 1px dashed var(--border-green);
  border-radius: var(--radius-md);
  text-align: center;
}

.calc-price-display p {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-green-light);
  margin-bottom: 3px;
}

.calc-price-display h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
}

.calc-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
}

.calc-details-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-glass);
}

/* --------------------------------------------------------------------------
   14. Portfolio Showcase
   -------------------------------------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.portfolio-card:hover {
  border-color: var(--border-green);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 168, 89, 0.15);
}

.portfolio-thumb {
  height: 200px;
  background: #040810;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
}

.portfolio-body {
  padding: 20px;
}

.portfolio-body span.category {
  font-size: 0.75rem;
  color: var(--brand-green-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
  display: block;
}

.portfolio-body h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.portfolio-body p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 14px;
}

.portfolio-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 168, 89, 0.12);
  border: 1px solid var(--border-green);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   15. Pricing Matrix (PKR Packages)
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  background: linear-gradient(180deg, #0e1e34 0%, #071220 100%);
  border-color: var(--brand-green-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 168, 89, 0.2);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #ffffff;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.pricing-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.pricing-header h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 14px 0;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-feature-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.pricing-feature-row i {
  color: var(--brand-green-light);
}

/* --------------------------------------------------------------------------
   16. Testimonials & FAQs
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-rating {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 12px;
}

.testimonial-comment {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.author-info h5 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-green);
}

.faq-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1rem;
  color: var(--text-heading);
}

.faq-header i {
  font-size: 1.1rem;
  color: var(--brand-green-light);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-header i {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 22px 18px 22px;
  display: none;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.faq-item.active .faq-body {
  display: block;
}

/* --------------------------------------------------------------------------
   17. CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner-wrapper {
  background: linear-gradient(135deg, rgba(0, 168, 89, 0.16) 0%, rgba(10, 20, 36, 0.95) 100%);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  font-size: 2.1rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-banner-content p {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 560px;
}

.cta-banner-btns {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   18. Contact & Footer
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-card,
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.contact-detail-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 168, 89, 0.1);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green-light);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #050a12;
  border: 1px solid var(--border-glass-light);
  color: #ffffff;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-green-light);
  box-shadow: 0 0 12px rgba(0, 168, 89, 0.2);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.footer-area {
  background-color: #03060c;
  border-top: 1px solid var(--border-glass);
  padding-top: 70px;
  padding-bottom: 25px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 42px;
  margin-bottom: 18px;
}

.footer-brand-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 20px;
}

.footer-social-links {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green-light);
  transform: translateY(-2px);
}

.footer-widget-title {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--brand-green-light);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list li a {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-links-list li a:hover {
  color: var(--brand-green-light);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Floating WhatsApp */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: rippleWave 2s infinite;
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-light);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9998;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile Offcanvas */
.mobile-offcanvas-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: #081120;
  border-left: 1px solid var(--border-glass-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  padding: 24px;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-offcanvas-drawer.open {
  transform: translateX(0);
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.offcanvas-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.offcanvas-close-btn {
  background: transparent;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-list li a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-glass);
}

/* --------------------------------------------------------------------------
   19. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .mega-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mega-promo-card {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .topbar {
    display: none;
  }
  .hero-grid,
  .about-grid,
  .spotlight-grid,
  .calc-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .platform-panels-wrapper {
    flex-direction: column;
    height: auto;
  }
  .platform-col {
    width: 100%;
    min-height: 120px;
  }
  .platform-col.active {
    min-height: 260px;
  }
  .platform-col-title-vertical {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .portfolio-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .testimonials-grid,
  .footer-grid,
  .calc-checkboxes-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .calculator-card {
    padding: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
