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

:root {
  --enterprise-text: #0b1f33;
  --enterprise-muted: #4d647e;
  --enterprise-primary: #0c7fbe;
  --enterprise-primary-deep: #0a5f8f;
  --enterprise-navy: #122a45;
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-strong: rgba(255, 255, 255, 0.26);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 18px 44px rgba(10, 41, 77, 0.14);
  --glass-glow: 0 0 0 1px rgba(165, 216, 255, 0.25), 0 0 26px rgba(67, 144, 209, 0.16);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--enterprise-text);
  overflow-x: hidden;
  background:
    radial-gradient(80rem 48rem at -10% -10%, rgba(188, 226, 255, 0.5), transparent 55%),
    radial-gradient(64rem 38rem at 110% 20%, rgba(153, 204, 245, 0.38), transparent 55%),
    linear-gradient(180deg, #f9fcff 0%, #eef6ff 48%, #f7fbff 100%);
  background-attachment: fixed;
}

html[lang="ar"] body {
  font-family: 'Noto Kufi Arabic', sans-serif;
}

.enterprise-nav {
  width: 100%;
  left: 0;
  right: 0;
  transform: none;
  top: 0;
  border: 1px solid rgba(175, 210, 235, 0.9);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 16px 34px rgba(12, 44, 74, 0.16);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.enterprise-nav-scrolled {
  background: rgba(243, 250, 255, 0.82);
  border-color: rgba(201, 228, 248, 0.75);
  box-shadow: 0 14px 30px rgba(16, 54, 94, 0.14);
}

.enterprise-logo {
  height: 82px !important;
  max-width: 360px !important;
  filter: drop-shadow(0 4px 12px rgba(15, 101, 162, 0.16));
}

.pentra-logo {
  width: auto;
  object-fit: contain;
  display: block;
}

.pentra-logo--nav {
  height: clamp(70px, 9vw, 96px);
  max-width: clamp(240px, 30vw, 420px);
}

.pentra-logo--footer {
  height: clamp(56px, 7vw, 74px);
  max-width: clamp(220px, 32vw, 320px);
}

.enterprise-nav-link {
  position: relative;
  color: #28425c;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.enterprise-nav-link:hover {
  color: var(--enterprise-primary);
}

.enterprise-nav-link-active {
  color: var(--enterprise-primary);
}

.enterprise-nav-link-active::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7dc9fb 0%, var(--enterprise-primary) 100%);
}

.enterprise-lang-toggle {
  border: 1px solid rgba(151, 198, 231, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #274560;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.45rem 0.85rem;
  transition: all 0.2s ease;
}

.enterprise-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(109, 179, 227, 0.8);
  color: var(--enterprise-primary);
}

.enterprise-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 0.82rem 1.34rem;
  font-weight: 700;
  transition: all 0.22s ease;
  border: 1px solid transparent;
}

.enterprise-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--enterprise-primary) 0%, #1396da 100%);
  box-shadow: 0 10px 18px rgba(12, 127, 190, 0.24);
}

.enterprise-btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--enterprise-primary-deep) 0%, var(--enterprise-primary) 100%);
}

.enterprise-btn-secondary {
  color: #17324b;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(169, 211, 240, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.enterprise-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.enterprise-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(110px, 12vw, 140px);
  padding-bottom: clamp(64px, 8vw, 96px);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.enterprise-hero-grid {
  display: grid;
  gap: 2.4rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.enterprise-parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateY(var(--hero-parallax, 0px));
  transition: transform 0.25s ease-out;
}

.enterprise-hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.enterprise-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(72, 147, 200, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(72, 147, 200, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
}

.enterprise-hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(68px);
}

.enterprise-hero-glow-one {
  width: 34rem;
  height: 34rem;
  top: -10rem;
  right: -5rem;
  background: rgba(112, 192, 243, 0.26);
}

.enterprise-hero-glow-two {
  width: 29rem;
  height: 29rem;
  bottom: -12rem;
  left: -9rem;
  background: rgba(14, 68, 112, 0.18);
}

.enterprise-hero-content {
  margin: 0 auto;
  text-align: center;
  max-width: 46rem;
}

.enterprise-hero-content .enterprise-kicker {
  margin-inline: auto;
}

.enterprise-hero-content #hero-cta {
  justify-content: center;
}

.enterprise-hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(187, 221, 246, 0.72);
  background: rgba(248, 253, 255, 0.55);
  box-shadow: var(--glass-shadow);
}

.enterprise-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.96;
}

.enterprise-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(155, 206, 240, 0.72);
  background: rgba(255, 255, 255, 0.58);
  color: #264863;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.enterprise-stat-card,
.enterprise-surface,
.enterprise-card,
.enterprise-map {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  box-shadow: var(--glass-shadow);
}

.enterprise-stat-card {
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.enterprise-stat-value {
  color: #0e5889;
  font-weight: 700;
  font-size: 1.8rem;
}

.enterprise-stat-label {
  margin-top: 0.16rem;
  color: #4f6882;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.enterprise-section {
  padding: clamp(58px, 8.4vw, 96px) 0;
}

.enterprise-page-hero {
  padding-top: clamp(138px, 15vw, 176px);
  padding-bottom: clamp(34px, 5.8vw, 56px);
  background: linear-gradient(180deg, rgba(236, 247, 255, 0.86) 0%, rgba(247, 252, 255, 0.88) 100%);
  border-bottom: 1px solid rgba(190, 222, 244, 0.7);
}

.enterprise-sub-hero {
  position: relative;
  background-size: cover;
  background-position: center;
}

.enterprise-sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.64) 0%, rgba(244, 250, 255, 0.93) 55%, rgba(244, 250, 255, 1) 100%);
}

.enterprise-heading-wrap {
  margin-bottom: 1.75rem;
}

.enterprise-heading {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  color: #0d253d;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.enterprise-surface {
  border-radius: 16px;
}

.enterprise-about-media,
.enterprise-card-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(176, 215, 241, 0.72);
  background: rgba(245, 252, 255, 0.45);
}

.enterprise-about-media {
  margin-bottom: 1.5rem;
}

.enterprise-about-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.enterprise-card {
  border-radius: 14px;
  padding: 1.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.enterprise-card-media {
  margin-bottom: 1rem;
}

.enterprise-card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.42s ease;
}

.enterprise-card:hover {
  transform: translateY(-5px);
  border-color: rgba(128, 194, 236, 0.9);
  background: var(--glass-strong);
  box-shadow: var(--glass-shadow), var(--glass-glow);
}

.enterprise-card:hover .enterprise-card-media img {
  transform: scale(1.06);
}

.enterprise-icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  border: 1px solid rgba(174, 213, 240, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(234, 247, 255, 0.52) 100%);
  color: var(--enterprise-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(108, 179, 226, 0.17);
}

.enterprise-map {
  position: relative;
  border-radius: 16px;
  padding: 1.35rem;
  overflow: hidden;
}

.enterprise-map-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #415d77;
  margin-bottom: 1rem;
}

.enterprise-map-lines {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 20%, rgba(18, 122, 192, 0.16) 0, transparent 22%),
    linear-gradient(to right, rgba(84, 155, 202, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(84, 155, 202, 0.06) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
}

.enterprise-office-map {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 200px;
  border: 1px solid rgba(177, 214, 240, 0.78);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.enterprise-office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.enterprise-label {
  display: inline-block;
  color: #2a4965;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 0.38rem;
}

.enterprise-input {
  width: 100%;
  border: 1px solid rgba(166, 206, 236, 0.76);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 11px;
  padding: 0.72rem 0.86rem;
  color: #142a3f;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.enterprise-input:focus {
  outline: none;
  border-color: rgba(84, 167, 220, 0.95);
  box-shadow: 0 0 0 3px rgba(29, 138, 207, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.enterprise-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(178, 215, 239, 0.8);
  background: rgba(255, 255, 255, 0.52);
  color: #234766;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.72rem;
}

.enterprise-footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(190, 221, 244, 0.7);
  background:
    radial-gradient(44rem 20rem at 12% 0%, rgba(115, 172, 220, 0.22), transparent 65%),
    linear-gradient(180deg, rgba(16, 40, 67, 0.94) 0%, rgba(13, 33, 56, 0.98) 100%);
}

.rtl-flip {
  transform: scaleX(-1);
}

.chat-widget-enter {
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--enterprise-primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .enterprise-nav {
    width: 100%;
    top: 0;
    border-radius: 0;
  }

  .enterprise-hero-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-hero-media {
    order: -1;
  }

  .enterprise-map {
    min-height: 250px;
  }
}

@media (max-width: 767px) {
  .enterprise-logo {
    height: 60px !important;
    max-width: 240px !important;
  }

  .pentra-logo--nav {
    height: 56px;
    max-width: 220px;
  }

  .enterprise-heading-wrap {
    margin-bottom: 1.2rem;
  }

  .enterprise-card,
  .enterprise-surface,
  .enterprise-hero-panel {
    border-radius: 13px;
  }

  .enterprise-btn {
    width: 100%;
  }

  .enterprise-card-media img {
    height: 150px;
  }

  .enterprise-map {
    padding: 1rem;
  }

  .enterprise-office-map {
    height: 170px;
  }
}
