:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #f2f8ff;
  --line: #d3e1f3;
  --text: #0e1e31;
  --muted: #4a6480;
  --blue: #1b66ff;
  --blue-dark: #0e3f9f;
  --aqua: #00a89a;
  --gold: #ffb23f;
  --deep: #08162b;
  --shadow-lg: 0 20px 50px rgba(13, 39, 82, 0.16);
  --shadow-md: 0 14px 32px rgba(9, 33, 69, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(circle at 92% 2%, rgba(27, 102, 255, 0.12), transparent 36%),
    radial-gradient(circle at 6% 20%, rgba(0, 168, 154, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eff6ff 52%, #f6fbff 100%);
  background-size: 130% 130%, 130% 130%, 100% 100%;
  color: var(--text);
  line-height: 1.85;
  overflow-x: hidden;
  animation: bgDrift 22s ease-in-out infinite;
}

a {
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

.orb-blue {
  width: 360px;
  height: 360px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(27, 102, 255, 0.28), transparent 74%);
  animation: floatBlue 14s ease-in-out infinite;
}

.orb-aqua {
  width: 290px;
  height: 290px;
  bottom: -90px;
  left: -80px;
  background: radial-gradient(circle, rgba(0, 168, 154, 0.22), transparent 72%);
  animation: floatAqua 16s ease-in-out infinite;
}

.orb-gold {
  width: 250px;
  height: 250px;
  top: 42%;
  left: -130px;
  background: radial-gradient(circle, rgba(255, 178, 63, 0.2), transparent 72%);
  animation: floatGold 18s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  isolation: isolate;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    120deg,
    rgba(247, 251, 255, 0.83),
    rgba(232, 243, 255, 0.72)
  );
  border-bottom: 1px solid rgba(181, 206, 236, 0.85);
  box-shadow: 0 6px 24px rgba(15, 46, 96, 0.1);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ba4ff, #00c2ad, transparent);
  opacity: 0.8;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  font-family: "Changa", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-dark);
}

.logo span {
  color: var(--aqua);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.site-nav a {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.96rem;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 22% 6px 22%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1b66ff, #00a89a);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-dark);
  background: rgba(27, 102, 255, 0.1);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding: clamp(3.4rem, 7vw, 7.2rem) 0 clamp(3.2rem, 6vw, 6rem);
}

.hero-layout {
  display: grid;
  gap: 1rem;
}

.hero-content {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background:
    linear-gradient(120deg, rgba(27, 102, 255, 0.12), rgba(0, 168, 154, 0.11)),
    var(--surface);
  border: 1px solid #c8daf2;
  box-shadow: var(--shadow-lg);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 0deg,
    rgba(27, 102, 255, 0.78),
    rgba(0, 168, 154, 0.72),
    rgba(255, 178, 63, 0.72),
    rgba(27, 102, 255, 0.78)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinGlow 9s linear infinite;
  pointer-events: none;
}

.hero-content::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  left: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 178, 63, 0.25), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  color: #006d62;
  border: 1px solid #9ed9cf;
  background: #d9f5ef;
}

h1 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(1.75rem, 5.2vw, 3rem);
  line-height: 1.35;
  max-width: 20ch;
}

.hero-intro {
  margin: 0;
  color: #27435f;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.68rem 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-22deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2f89ff 62%, #5daeff 100%);
  box-shadow: 0 12px 24px rgba(27, 102, 255, 0.35);
}

.btn-outline {
  border: 1px solid #9ac1ee;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:hover::after,
.btn:focus-visible::after {
  left: 150%;
}

.hero-highlights {
  margin: 1.15rem 0 0;
  padding-right: 1.1rem;
  color: #315471;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #e8f0ff;
  background:
    linear-gradient(150deg, rgba(27, 102, 255, 0.95), rgba(10, 51, 122, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -120px;
  left: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-panel h2 {
  margin: 0;
  font-size: 1.25rem;
}

.metrics-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.metrics-grid article {
  border-radius: 14px;
  padding: 0.72rem 0.72rem 0.62rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.metrics-grid h3 {
  margin: 0;
  font-size: 1.45rem;
}

.metrics-grid p {
  margin: 0.1rem 0 0;
  font-size: 0.88rem;
}

.hero-note {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  color: #d0ddff;
}

.trust-band {
  padding: 0.9rem 0;
  border-block: 1px solid #d0e0f3;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.75), rgba(242, 248, 255, 0.9));
}

.trust-grid {
  display: grid;
  gap: 0.65rem;
}

.trust-grid p {
  margin: 0;
  color: #355372;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #dae6f4;
  text-align: center;
  backdrop-filter: blur(6px);
}

.section {
  padding: clamp(3.2rem, 6vw, 5.8rem) 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(225, 240, 255, 0.56), rgba(229, 250, 246, 0.44));
  border-block: 1px solid #d8e7f7;
}

.section-dark {
  color: #e6edff;
  background:
    radial-gradient(circle at 86% 18%, rgba(58, 122, 255, 0.45), transparent 35%),
    linear-gradient(130deg, #0a1f3f 0%, #0b2d58 55%, #08325c 100%);
}

.section-title {
  margin: 0 0 0.72rem;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.4;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
}

.section-dark .section-head p {
  color: #cdd9f5;
}

.about-layout {
  display: grid;
  gap: 1rem;
}

.about-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 2.8vw, 2rem);
}

.about-copy p {
  margin: 0;
  color: var(--muted);
}

.about-copy p + p {
  margin-top: 0.8rem;
}

.value-cards {
  display: grid;
  gap: 0.8rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: #8fb8ec;
  box-shadow: 0 20px 36px rgba(21, 67, 130, 0.14);
}

.value-card h3 {
  margin: 0 0 0.2rem;
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.products-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.product-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid #d0dff0;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 1.15rem 1.05rem;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--aqua), var(--gold));
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #8eb6ea;
  box-shadow: 0 22px 38px rgba(17, 61, 122, 0.16);
}

.product-card h3 {
  margin: 0 0 0.34rem;
  font-size: 1.05rem;
}

.product-card p {
  margin: 0;
  color: #4a6380;
}

.media-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.media-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 0.66rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.media-card::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -45%;
  width: 45%;
  height: 280%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.48),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transition: left 0.65s ease, opacity 0.32s ease;
}

.image-shell {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #d6e8fd, #d3f1ec);
  min-height: 230px;
}

.image-shell img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: #8cb2e3;
  box-shadow: 0 22px 40px rgba(18, 56, 108, 0.17);
}

.media-card:hover::after {
  left: 140%;
  opacity: 1;
}

.media-card:hover .image-shell img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

.media-card figcaption {
  margin-top: 0.6rem;
  color: #2d4d6a;
  font-weight: 700;
}

.capability-points {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.capability-points article {
  border-radius: 14px;
  padding: 1rem 0.9rem;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.capability-points article:hover {
  transform: translateY(-5px);
  border-color: #8fb8ec;
  box-shadow: 0 20px 36px rgba(21, 67, 130, 0.14);
}

.capability-points h3 {
  margin: 0 0 0.25rem;
  font-size: 1.06rem;
  color: var(--blue-dark);
}

.capability-points p {
  margin: 0;
  color: var(--muted);
}

.process-grid {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.process-grid li {
  border-radius: var(--radius-md);
  border: 1px solid rgba(207, 220, 255, 0.24);
  background: rgba(8, 38, 79, 0.4);
  padding: 1rem;
  transition: transform 0.35s ease, border-color 0.35s ease,
    background-color 0.35s ease;
}

.process-grid li:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 205, 255, 0.55);
  background: rgba(13, 52, 102, 0.62);
}

.step-num {
  display: inline-block;
  min-width: 52px;
  text-align: center;
  font-family: "Changa", sans-serif;
  color: #09213f;
  background: linear-gradient(135deg, #cce4ff, #95f1df);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.35rem;
}

.process-grid h3 {
  margin: 0;
  font-size: 1.08rem;
}

.process-grid p {
  margin: 0.3rem 0 0;
  color: #d1def6;
}

.contact-section {
  padding-bottom: clamp(3.5rem, 7vw, 6.6rem);
}

.contact-layout {
  border-radius: var(--radius-lg);
  border: 1px solid #c4d9f5;
  background:
    linear-gradient(120deg, rgba(27, 102, 255, 0.13), rgba(0, 168, 154, 0.14)),
    var(--surface);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 2.8vw, 2rem);
  display: grid;
  gap: 1rem;
  align-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-layout:hover {
  transform: translateY(-4px);
  border-color: #8fb8ec;
  box-shadow: 0 24px 42px rgba(17, 58, 116, 0.17);
}

.contact-layout p {
  margin: 0;
  color: #2f4e6c;
}

.mail-cta {
  justify-self: start;
  text-decoration: none;
  font-family: "Changa", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #fff;
  background: linear-gradient(135deg, #00a89a, #1676ff);
  background-size: 180% 180%;
  border-radius: 14px;
  padding: 0.72rem 1.15rem;
  box-shadow: 0 12px 28px rgba(20, 112, 212, 0.33);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulseGlow 4.5s ease-in-out infinite, gradientShift 6s ease infinite;
}

.mail-cta:hover,
.mail-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 112, 212, 0.44);
}

.site-footer {
  background: var(--deep);
  border-top: 1px solid #0e315f;
  color: #d7e4ff;
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.reveal {
  animation: revealUp 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

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

@keyframes spinGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bgDrift {
  0% {
    background-position: 92% 2%, 6% 20%, 0 0;
  }
  50% {
    background-position: 88% 8%, 10% 24%, 0 0;
  }
  100% {
    background-position: 92% 2%, 6% 20%, 0 0;
  }
}

@keyframes floatBlue {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, 10px, 0);
  }
}

@keyframes floatAqua {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -8px, 0);
  }
}

@keyframes floatGold {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(16px, 14px, 0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(20, 112, 212, 0.33);
  }
  50% {
    box-shadow: 0 18px 34px rgba(14, 148, 174, 0.38);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (min-width: 768px) {
  .hero-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.2rem;
  }

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

  .about-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }

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

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

  .capability-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-layout {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .mail-cta {
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .capability-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .image-shell,
  .image-shell img {
    min-height: 245px;
  }
}

@media (max-width: 430px) {
  .site-nav {
    gap: 0.18rem;
  }

  .site-nav a {
    padding: 0.34rem 0.55rem;
    font-size: 0.88rem;
  }

  .header-inner {
    min-height: 88px;
    align-items: flex-start;
    padding-top: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
