/* ==========================================================================
   Pixel Web Solutions - Modern Menu & Footer System (v2)
   Scoped CSS with .pws- prefix to avoid conflicts with existing stylesheets
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --pws-font-main: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pws-font-mono: 'IBM Plex Mono', monospace;
  --pws-color-primary: #14142B;
  --pws-color-muted: #63637C;
  --pws-color-border: #E6E6EF;
  --pws-color-border-light: #EDEDF4;
  --pws-color-yellow: #FFC93C;
  --pws-color-purple: #533E86;
  --pws-color-pink: #E8407F;
  --pws-color-dark-bg: #1D2025;
}

/* Base resets for navigation & footer components */
.pws-nav-wrapper,
.pws-footer-wrapper {
  font-family: var(--pws-font-main);
  color: var(--pws-color-primary);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.pws-nav-wrapper *,
.pws-footer-wrapper * {
  box-sizing: border-box;
}

/* Animations */
@keyframes pwsFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   STICKY HEADER
   ========================================================================== */
.pws-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #FFFFFF;
  border-bottom: 1px solid var(--pws-color-border);
  box-shadow: 0 1px 3px rgba(20, 20, 43, 0.03);
}

.pws-header-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 28px;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pws-logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.pws-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* Desktop Nav Items */
.pws-desktop-nav {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  height: 82px;
  min-width: 0;
}

.pws-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  cursor: pointer;
  background: transparent;
  transition: background 150ms ease, color 150ms ease;
  user-select: none;
}

.pws-nav-item:hover {
  background: #F7F7FB;
}

.pws-nav-item.is-active {
  background: var(--nav-tint, #F7F7FB);
}

.pws-nav-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: #3A3A55;
  transition: color 140ms ease;
}

.pws-nav-item:hover .pws-nav-label,
.pws-nav-item.is-active .pws-nav-label {
  color: var(--pws-color-primary);
}

.pws-nav-caret {
  width: 6px;
  height: 6px;
  border-right: 1.6px solid #63637C;
  border-bottom: 1.6px solid #63637C;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 140ms ease;
}

.pws-nav-item.is-active .pws-nav-caret {
  transform: rotate(-135deg) translateY(-1px);
  border-color: var(--pws-color-primary);
}

.pws-nav-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
  transition: background 140ms ease;
}

.pws-nav-item.is-active .pws-nav-bar {
  background: var(--nav-accent, var(--pws-color-purple));
}

/* Contact Button */
.pws-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--pws-color-yellow);
  color: var(--pws-color-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  flex: 0 0 auto;
  text-decoration: none;
  transition: all 180ms ease;
  box-shadow: 0 2px 6px rgba(255, 201, 60, 0.25);
}

.pws-contact-btn:hover {
  background: var(--pws-color-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(20, 20, 43, 0.2);
}

/* ==========================================================================
   MEGA MENU DROPDOWN PANELS
   ========================================================================== */
.pws-mega-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 82px;
  background: #FFFFFF;
  border-top: 1px solid var(--pws-color-border);
  border-bottom: 1px solid var(--pws-color-border);
  box-shadow: 0 30px 60px -30px rgba(20, 20, 43, 0.25);
  animation: pwsFadeInDown 150ms ease-out;
  z-index: 1040;
}

.pws-mega-panel.is-open {
  display: block;
}

.pws-mega-content {
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px 28px 26px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Left Featured Column */
.pws-panel-featured {
  flex: 0 0 316px;
  max-width: 316px;
}

.pws-eyebrow {
  font-family: var(--pws-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.pws-featured-title {
  margin: 12px 0 0;
  font-size: 19px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--pws-color-primary);
  text-wrap: pretty;
}

.pws-featured-body {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pws-color-muted);
  text-wrap: pretty;
}

.pws-featured-badge {
  margin-top: 18px;
}

.pws-featured-badge img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.pws-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pws-color-purple);
  border-bottom: 2px solid var(--pws-color-yellow);
  padding-bottom: 2px;
  text-decoration: none;
  transition: all 140ms ease;
}

.pws-featured-cta:hover {
  color: var(--pws-color-pink);
  border-bottom-color: var(--pws-color-pink);
}

/* Middle Columns Grid */
.pws-panel-columns {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 24px 30px;
  align-items: start;
}

.pws-panel-columns.cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.pws-panel-columns.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pws-panel-columns.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pws-panel-columns.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pws-col-group {
  min-width: 0;
}

.pws-col-header {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pws-color-primary);
  margin-bottom: 6px;
}

.pws-col-header h4 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--pws-color-primary);
}

.pws-col-link {
  display: block;
  padding: 7px 8px 7px 0;
  font-size: 13.5px;
  line-height: 1.35;
  color: #3A3A55;
  border-bottom: 1px solid #F7F7FB;
  text-decoration: none;
  transition: all 140ms ease;
  text-wrap: pretty;
}

.pws-col-link:hover {
  color: var(--pws-color-primary);
  padding-left: 6px;
  border-bottom-color: var(--pws-color-border-light);
}

/* Aside Column */
.pws-panel-aside {
  flex: 1 1 auto;
  min-width: 280px;
  max-width: 440px;
  padding-left: 30px;
  border-left: 1px solid var(--pws-color-border-light);
}

.pws-panel-aside h3 {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--pws-color-primary);
}

.pws-panel-aside p {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #3A3A55;
}

/* Bottom Recognition Strip */
.pws-panel-awards-bar {
  border-top: 1px solid var(--pws-color-border-light);
  background: #FCFCFE;
}

.pws-awards-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pws-awards-label {
  font-family: var(--pws-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pws-color-muted);
  white-space: nowrap;
  font-weight: 600;
}

.pws-awards-list {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pws-awards-list img {
  height: auto;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: grayscale(10%);
  transition: filter 180ms ease, transform 180ms ease;
}

.pws-awards-list img:hover {
  filter: grayscale(0%);
  transform: translateY(-2px);
}

/* ==========================================================================
   CASE STUDIES PANEL (cs)
   ========================================================================== */
.pws-cs-topbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F0F0F6;
  margin-bottom: 20px;
}

.pws-cs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (min-width: 1300px) {
  .pws-cs-grid.has-4-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pws-cs-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pws-color-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--pws-color-primary);
  background: #FFFFFF;
  transition: all 180ms ease;
}

.pws-cs-card:hover {
  border-color: var(--pws-color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(20, 20, 43, 0.15);
}

.pws-cs-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}

.pws-cs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pws-cs-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.pws-cs-tag {
  font-family: var(--pws-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pws-color-muted);
  font-weight: 600;
}

.pws-cs-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pws-cs-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pws-color-muted);
}

.pws-cs-action {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pws-color-purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.pws-mobile-bar {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.pws-hamburger-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--pws-color-border);
  border-radius: 6px;
  background: #FFFFFF;
  cursor: pointer;
  padding: 0;
}

.pws-hamburger-btn span {
  width: 20px;
  height: 2px;
  background: var(--pws-color-primary);
  transition: transform 160ms ease, opacity 160ms ease;
}

.pws-hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pws-hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.pws-hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pws-mobile-drawer {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 83px;
  bottom: 0;
  z-index: 1060;
  background: #FFFFFF;
  overflow-y: auto;
  padding: 8px 20px 80px;
  border-top: 1px solid var(--pws-color-border);
}

.pws-mobile-drawer.is-open {
  display: block;
}

.pws-m-item {
  border-bottom: 1px solid #F0F0F6;
}

.pws-m-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px;
  cursor: pointer;
  min-height: 44px;
}

.pws-m-title {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pws-color-primary);
}

.pws-m-sign {
  font-family: var(--pws-font-mono);
  font-size: 18px;
  font-weight: 600;
}

.pws-m-groups {
  display: none;
  padding-left: 4px;
  padding-bottom: 10px;
}

.pws-m-groups.is-open {
  display: block;
}

.pws-m-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 4px;
  cursor: pointer;
  border-top: 1px solid #F7F7FB;
  font-size: 14.5px;
  font-weight: 700;
  color: #3A3A55;
}

.pws-m-links {
  display: none;
}

.pws-m-links.is-open {
  display: block;
}

.pws-m-link {
  display: block;
  padding: 10px 4px 10px 14px;
  border-left: 2px solid var(--pws-color-border-light);
  color: var(--pws-color-primary);
  font-size: 14px;
  text-decoration: none;
  min-height: 40px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.pws-footer {
  background: var(--pws-color-dark-bg);
  color: #FFFFFF;
  padding: 56px 28px 0;
  border-top: 1px solid #2E3238;
}

.pws-footer-container {
  max-width: 1360px;
  margin: 0 auto;
}

.pws-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 32px;
  justify-content: space-between;
}

.pws-footer-brand {
  flex: 1 1 340px;
  max-width: 440px;
}

.pws-footer-brand-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.pws-footer-brand-desc {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #B8B8CC;
  text-wrap: pretty;
}

.pws-social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pws-social-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #383D45;
  font-size: 13px;
  font-weight: 600;
  color: #E4E4F0;
  text-decoration: none;
  transition: all 150ms ease;
}

.pws-social-pill:hover {
  border-color: var(--pws-color-yellow);
  color: var(--pws-color-yellow);
  transform: translateY(-1px);
}

/* Company sub-bar */
.pws-footer-subbar {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #2E3238;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 24px;
}

.pws-footer-subbar-label {
  font-family: var(--pws-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pws-color-yellow);
  font-weight: 600;
}

.pws-footer-subbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.pws-footer-subbar-link {
  font-size: 14px;
  font-weight: 600;
  color: #E4E8EE;
  text-decoration: none;
  transition: color 140ms ease;
}

.pws-footer-subbar-link:hover {
  color: var(--pws-color-yellow);
}

/* Explore Services Tabs */
.pws-footer-tabs-sec {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #2E3238;
}

.pws-footer-tabs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
}

.pws-footer-tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pws-tab-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid #383D45;
  background: transparent;
  color: #C9CFD8;
  transition: all 140ms ease;
  user-select: none;
}

.pws-tab-pill:hover {
  border-color: var(--pws-color-yellow);
  color: #FFFFFF;
}

.pws-tab-pill.is-active {
  background: var(--pws-color-yellow);
  color: var(--pws-color-primary);
  border-color: var(--pws-color-yellow);
}

.pws-tab-content {
  display: none;
  margin-top: 22px;
  column-width: 220px;
  column-gap: 32px;
}

.pws-tab-content.is-active {
  display: block;
}

.pws-tab-link {
  display: block;
  break-inside: avoid;
  font-size: 13px;
  line-height: 1.35;
  padding: 6px 0;
  color: #D5D5E4;
  text-decoration: none;
  transition: color 140ms ease;
  text-wrap: pretty;
}

.pws-tab-link:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

/* Footer Bottom Bar */
.pws-footer-bottom {
  margin-top: 40px;
  padding: 22px 0 28px;
  border-top: 1px solid #2E3238;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  justify-content: space-between;
}

.pws-footer-copy {
  font-family: var(--pws-font-mono);
  font-size: 11.5px;
  color: #7E7E9B;
}

.pws-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.pws-footer-legal-link {
  font-size: 13.5px;
  color: #9E9EB8;
  text-decoration: none;
  transition: color 140ms ease;
}

.pws-footer-legal-link:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp, Telegram, Teams)
   ========================================================================== */
.pws-floating-actions {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1070;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.pws-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #FFFFFF;
  box-shadow: 0 6px 18px -4px rgba(20, 20, 43, 0.45);
  transition: all 180ms ease;
  text-decoration: none;
}

.pws-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 22px -4px rgba(20, 20, 43, 0.6);
  color: #FFFFFF;
}

.pws-fab-wa {
  background: #25D366;
}

.pws-fab-tg {
  background: #229ED9;
}

.pws-fab-tm {
  background: #5059C9;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .pws-desktop-nav {
    display: none;
  }

  .pws-mobile-bar {
    display: flex;
  }

  .pws-mega-panel {
    display: none !important;
  }
}