﻿:root {
  --font-title: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --c-bg: #f2f6fc;
  --c-surface: #ffffff;
  --c-surface-soft: #f7faff;
  --c-text: #0f172a;
  --c-muted: #5f6b85;
  --c-primary: #0d6efd;
  --c-primary-strong: #0b56d0;
  --c-secondary: #00a6fb;
  --c-accent: #f59e0b;
  --c-dark: #0b1220;

  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 20px 38px rgba(15, 23, 42, 0.16);

  --space-section: clamp(2.4rem, 5vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 86px;
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--c-text);
  overflow-x: hidden;
  background:
    radial-gradient(1200px circle at 110% -10%, rgba(13, 110, 253, 0.14), transparent 58%),
    radial-gradient(900px circle at -10% 100%, rgba(0, 166, 251, 0.1), transparent 50%),
    var(--c-bg);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 2200;
  pointer-events: none;
  background: linear-gradient(90deg, var(--c-primary), #4a6fff, var(--c-secondary));
  box-shadow: 0 0 12px rgba(13, 110, 253, 0.45);
}

section {
  padding: var(--space-section) 0;
}

.bg-light {
  background: transparent !important;
}

/* Layout */
.container {
  max-width: 1140px;
}

/* Navbar */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  transition: background-color 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

#navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.navbar {
  padding: 0.72rem 1.1rem;
}

.navbar-brand {
  padding: 0;
}

#imgicon {
  width: 122px;
  height: auto;
  margin: 0;
}

.navbar-toggler {
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 10px;
}

.navbar-toggler:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}

.navbar-nav .nav-item {
  margin-left: 1.55rem;
}

.navbar-nav .nav-link {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-muted);
  position: relative;
  transition: color 220ms ease, transform 220ms ease;
}

.navbar-nav .nav-link:hover {
  color: var(--c-primary);
  transform: translateY(-1px);
}

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

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-secondary), var(--c-primary));
}

/* Hero */
.video-background {
  position: relative;
  min-height: clamp(360px, 62vh, 620px);
  margin: 0 0 1.5rem;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  --hero-cursor-x: 50%;
  --hero-cursor-y: 50%;
}

.video-background::before,
.video-background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.video-background::before {
  z-index: 2;
  background: linear-gradient(130deg, rgba(6, 11, 24, 0.7), rgba(6, 11, 24, 0.3) 48%, rgba(6, 11, 24, 0.2));
}

.video-background::after {
  z-index: 3;
  background:
    radial-gradient(400px circle at var(--hero-cursor-x) var(--hero-cursor-y), rgba(255, 255, 255, 0.2), transparent 60%),
    radial-gradient(700px circle at 80% 12%, rgba(0, 166, 251, 0.14), transparent 60%);
  mix-blend-mode: screen;
}

#imagebac {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: hero-kenburns 18s ease-in-out infinite alternate;
}

.services-overlay {
  position: absolute;
  left: clamp(14px, 4vw, 40px);
  bottom: clamp(14px, 4vw, 34px);
  top: auto;
  transform: none;
  width: min(92vw, 380px);
  max-width: 380px;
  padding: 1.05rem 1.05rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(9, 15, 30, 0.72);
  box-shadow: var(--shadow-strong);
  z-index: 4;
  animation: overlay-enter 900ms ease-out both;
}

.services-overlay h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-title);
  font-size: 1.32rem;
  font-weight: 700;
  background: linear-gradient(120deg, #ffd56f, #f7ab1e, #ffe7a8);
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 4s ease-in-out infinite;
}

.services-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.services-overlay li {
  display: flex;
  align-items: center;
  color: #eff4ff;
  transition: transform 220ms ease;
}

.services-overlay li:hover {
  transform: translateX(5px);
}

.services-overlay .icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  animation: icon-bob 2.6s ease-in-out infinite;
}

.services-overlay .icon img {
  width: 24px;
  height: 24px;
}

.services-overlay li:nth-child(2) .icon {
  animation-delay: 140ms;
}

.services-overlay li:nth-child(3) .icon {
  animation-delay: 280ms;
}

.services-overlay li:nth-child(4) .icon {
  animation-delay: 420ms;
}

.services-overlay li:nth-child(5) .icon {
  animation-delay: 560ms;
}

.services-overlay a {
  color: #eff4ff;
  font-family: var(--font-title);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
}

.services-overlay a:hover,
.services-overlay a:active,
.services-overlay a:focus {
  color: #ffd56f;
}

.telecom-icon {
  background: linear-gradient(135deg, #00aaff, #0075d9);
}

.it-icon {
  background: linear-gradient(135deg, #00cc99, #00a26e);
}

.energy-icon {
  background: linear-gradient(135deg, #6f63ff, #4735df);
}

.retail-icon {
  background: linear-gradient(135deg, #4d869c, #305d8d);
}

.security-icon {
  background: linear-gradient(135deg, #223c80, #102049);
}

/* Typography */
.py-5 h2,
section h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  color: #121b34;
  margin-bottom: 1.1rem;
}

.section-heading {
  position: relative;
  display: inline-block;
  transition: text-shadow 320ms ease, transform 320ms ease;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--c-secondary), var(--c-primary));
  transition: width 520ms ease;
}

.section-heading.heading-active {
  text-shadow: 0 6px 16px rgba(13, 110, 253, 0.18);
  transform: translateY(-1px);
}

.section-heading.heading-active::after {
  width: 72%;
}

#about .row {
  align-items: center;
}

#about p,
#contact-us p,
.service-box p,
.feature-box p {
  color: var(--c-muted);
}

#about p {
  font-size: 1.04rem;
  max-width: 56ch;
}

/* Cards */
.service-box,
.feature-box {
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-soft);
  transition: transform 260ms ease, box-shadow 260ms ease;
  position: relative;
  overflow: hidden;
}

.service-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
}

.service-box h3,
.feature-box h3 {
  font-family: var(--font-title);
  font-size: 1.06rem;
  font-weight: 600;
  margin: 0.45rem 0 0.55rem;
}

#img1 {
  width: 46px;
  height: 46px;
  margin-bottom: 0.25rem;
}

.service-box:hover,
.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.service-box::after,
.feature-box::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -180%;
  width: 120%;
  height: 320%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.25) 48%,
    rgba(255, 255, 255, 0) 68%
  );
  transform: translateX(-120%) rotate(10deg);
  transition: transform 650ms ease;
  pointer-events: none;
}

.service-box:hover::after,
.feature-box:hover::after {
  transform: translateX(260%) rotate(10deg);
}

.feature-box {
  color: #ffffff;
}

.feature-box p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
}

.feature-box.bg-primary {
  background: linear-gradient(160deg, #1b77ff, #0e58cc);
}

.feature-box.bg-success {
  background: linear-gradient(160deg, #16a34a, #15803d);
}

.feature-box.bg-warning {
  background: linear-gradient(160deg, #f59e0b, #d97706) !important;
}

.interactive-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.interactive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(13, 110, 253, 0.18), rgba(13, 110, 253, 0) 60%);
  transition: opacity 260ms ease;
}

.interactive-card.is-tilting {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.interactive-card.is-tilting::before {
  opacity: 1;
}

/* Contact */
#contact-us .row {
  align-items: center;
}

#contact-form {
  background: var(--c-surface);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  font-family: var(--font-title);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: var(--c-surface-soft);
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(13, 110, 253, 0.75);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.16);
  outline: none;
}

#req {
  color: #d20b25;
  margin-left: 2px;
}

button.btn-primary {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 10px;
  padding: 0.72rem 1.3rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-strong));
  box-shadow: 0 8px 18px rgba(13, 86, 208, 0.32);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

button.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(13, 86, 208, 0.36);
  filter: saturate(1.06);
}

button.btn-primary:active {
  transform: translateY(0);
}

.magnetic-btn {
  will-change: transform;
}

.magnetic-btn.is-magnetic {
  box-shadow: 0 10px 18px rgba(13, 86, 208, 0.3);
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: button-ripple 650ms ease-out forwards;
}

#formMessage .alert {
  border-radius: 10px;
  border: 1px solid transparent;
  animation: pop-in 260ms ease-out both;
}

/* Footer */
footer {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background: var(--c-dark) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
  margin-bottom: 0.4rem;
  color: rgba(231, 236, 255, 0.9);
}

footer a {
  color: #dbe6ff;
}

/* Effects helpers */
.reveal-element {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.float-image {
  animation: float-y 5.4s ease-in-out infinite;
}

.float-image.is-delay {
  animation-delay: 600ms;
}

/* Animations */
@keyframes hero-kenburns {
  0% {
    transform: scale(1) translateY(0);
  }
  100% {
    transform: scale(1.05) translateY(-8px);
  }
}

@keyframes overlay-enter {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes icon-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes button-ripple {
  0% {
    transform: scale(0);
    opacity: 0.45;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .navbar-nav .nav-item {
    margin-left: 1rem;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-top: 76px;
  }

  .navbar {
    padding: 0.58rem 0.8rem;
  }

  .navbar-collapse {
    margin-top: 0.55rem;
    padding: 0.65rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.94);
  }

  .navbar-nav .nav-item {
    margin: 0;
  }

  .navbar-nav .nav-link {
    display: block;
    text-align: center;
    padding: 0.55rem 0.35rem;
  }

  .video-background {
    min-height: 430px;
    border-radius: 0 0 16px 16px;
  }

  .services-overlay {
    position: static;
    width: auto;
    max-width: none;
    margin: 1rem;
  }

}

@media (max-width: 767.98px) {
  body {
    padding-top: 72px;
  }

  section {
    padding: clamp(1.6rem, 4.8vw, 2.5rem) 0;
  }

  .video-background {
    min-height: 340px;
  }

  .services-overlay {
    margin: 0.75rem;
    padding: 0.9rem 0.85rem;
  }

  .services-overlay h2 {
    font-size: 1.1rem;
    margin-bottom: 0.55rem;
  }

  .services-overlay a {
    font-size: 0.8rem;
  }

  #about p {
    font-size: 0.98rem;
  }

  #contact-form {
    padding: 0.85rem;
  }

  button.btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #imagebac,
  .services-overlay,
  .services-overlay h2,
  .services-overlay .icon,
  .float-image,
  #formMessage .alert,
  .btn-ripple-dot {
    animation: none !important;
  }

  .reveal-element,
  .service-box,
  .feature-box,
  .interactive-card,
  .interactive-card.is-tilting,
  .section-heading,
  .section-heading.heading-active,
  .navbar-nav .nav-link,
  button.btn-primary {
    transition: none !important;
    transform: none !important;
  }

  .service-box::after,
  .feature-box::after,
  .interactive-card::before {
    display: none !important;
  }

  .reveal-element {
    opacity: 1;
  }
}

