:root {
  --brand-navy: #0b2a5b;
  --brand-navy-2: #071f44;
  --brand-accent: #2dd4bf;
  --brand-accent-2: #60a5fa;
  --bg-soft: #f5f7fb;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --card-border: rgba(15, 23, 42, 0.08);
  --shadow: 0 18px 45px rgba(5, 18, 44, 0.18);
  --shadow-soft: 0 14px 40px rgba(2, 6, 23, 0.12);
  --radius-lg: 18px;
  --radius-md: 14px;
  --transition: 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text-dark);
  background: #ffffff;
  overflow-x: hidden;
}

/* Utilities */
.section-padding {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.text-accent {
  color: var(--brand-accent);
}

.btn-accent {
  /* Bootstrap uses `background-color` for buttons; gradients must be applied via `background-image`. */
  color: #06202a !important;
  border: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--brand-accent);
  background-image: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-2));
  box-shadow: 0 10px 24px rgba(45, 212, 191, 0.18);
}

.btn-accent:hover,
.btn-accent:focus {
  color: #02131a !important;
  background-image: linear-gradient(135deg, #24c7b3, #4f93f4);
}

.btn-accent:focus {
  box-shadow: 0 0 0 0.25rem rgba(45, 212, 191, 0.18);
}

.btn-outline-soft {
  --bs-btn-color: var(--brand-navy);
  --bs-btn-border-color: rgba(11, 42, 91, 0.22);
  --bs-btn-hover-bg: rgba(11, 42, 91, 0.06);
  --bs-btn-hover-border-color: rgba(11, 42, 91, 0.28);
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-2));
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

/* Navbar */
.navbar-glass {
  background: rgba(7, 31, 68, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 12px;
  transition: var(--transition);
}

.navbar .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.navbar .nav-link.active {
  color: #ffffff;
  background: rgba(45, 212, 191, 0.16);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.22) inset;
}

/* Hero */
.hero-section {
  position: relative;
  padding: 92px 0 84px;
  background: radial-gradient(1200px 500px at 30% 20%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(900px 480px at 80% 20%, rgba(96, 165, 250, 0.22), transparent 60%),
    linear-gradient(180deg, var(--brand-navy), var(--brand-navy-2));
  color: #ffffff;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-shapes .shape {
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.text-hero-muted {
  color: rgba(255, 255, 255, 0.78);
}

.hero-bg-shapes .shape {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.9;
  transform: translateZ(0);
}

.hero-bg-shapes .s1 {
  width: 260px;
  height: 260px;
  left: -60px;
  top: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, 0.7), rgba(45, 212, 191, 0.08));
  animation: floaty 10s ease-in-out infinite;
}

.hero-bg-shapes .s2 {
  width: 340px;
  height: 340px;
  right: -120px;
  top: 50px;
  background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.65), rgba(96, 165, 250, 0.07));
  animation: floaty 12s ease-in-out infinite reverse;
}

.hero-bg-shapes .s3 {
  width: 260px;
  height: 260px;
  right: 20%;
  bottom: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, 0.55), rgba(45, 212, 191, 0.06));
  animation: floaty 11s ease-in-out infinite;
}

@keyframes floaty {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(6deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.badge-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.badge-card i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.18);
  color: #e9fffb;
}

.badge-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.badge-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
}

.badge-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.hero-mockup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mockup-top {
  display: flex;
  gap: 8px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.mockup-top .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.9;
}

.dot.red {
  background: #ff5f57;
}
.dot.yellow {
  background: #febc2e;
}
.dot.green {
  background: #28c840;
}

.mockup-body {
  padding: 18px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.mock-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}
.mock-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
}

.mock-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(96, 165, 250, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.18);
  margin-bottom: 10px;
}

.mock-icon i {
  color: #eaf4ff;
}

.mock-lines .line {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin-top: 8px;
}
.w-85 {
  width: 85%;
}
.w-80 {
  width: 80%;
}
.w-75 {
  width: 75%;
}
.w-70 {
  width: 70%;
}
.w-60 {
  width: 60%;
}
.w-55 {
  width: 55%;
}
.w-50 {
  width: 50%;
}
.w-45 {
  width: 45%;
}

.mock-chart {
  height: 120px;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-bar {
  width: 18%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.95), rgba(96, 165, 250, 0.55));
  animation: barPulse 2.6s ease-in-out infinite;
}
.b1 {
  height: 42%;
}
.b2 {
  height: 64%;
  animation-delay: 0.15s;
}
.b3 {
  height: 52%;
  animation-delay: 0.3s;
}
.b4 {
  height: 78%;
  animation-delay: 0.45s;
}
.b5 {
  height: 58%;
  animation-delay: 0.6s;
}

@keyframes barPulse {
  0%,
  100% {
    filter: brightness(0.95);
    transform: translateY(0);
  }
  50% {
    filter: brightness(1.15);
    transform: translateY(-3px);
  }
}

/* About */
.section-title p {
  max-width: 54ch;
}

.feature-pill {
  display: flex;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: #ffffff;
  transition: var(--transition);
}

.feature-pill i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(11, 42, 91, 0.06);
  color: var(--brand-navy);
}

.feature-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.09);
}

.about-media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, #ffffff, rgba(245, 247, 251, 0.8));
  overflow: hidden;
}

.about-media-inner {
  position: relative;
  padding: 18px;
}

.about-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(11, 42, 91, 0.95);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.about-badge-title {
  font-weight: 800;
  line-height: 1.1;
}
.about-badge-sub {
  opacity: 0.8;
  font-size: 0.9rem;
}

.about-placeholder {
  border-radius: var(--radius-lg);
  min-height: 360px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: radial-gradient(800px 350px at 20% 20%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(700px 350px at 80% 20%, rgba(96, 165, 250, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(11, 42, 91, 0.06), rgba(11, 42, 91, 0.0));
  border: 1px dashed rgba(11, 42, 91, 0.22);
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: auto;
}

.pg {
  border-radius: 16px;
  border: 1px solid rgba(11, 42, 91, 0.1);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  min-height: 90px;
}
.pg1 {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.28), rgba(255, 255, 255, 0.7));
}
.pg2 {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(255, 255, 255, 0.7));
}
.pg3 {
  background: linear-gradient(135deg, rgba(11, 42, 91, 0.12), rgba(255, 255, 255, 0.7));
}
.pg4 {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(96, 165, 250, 0.18));
}

.placeholder-caption {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services */
.section-heading p {
  max-width: 60ch;
  margin: 0 auto;
}

.service-card {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: #ffffff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(220px 160px at 20% 0%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(220px 160px at 80% 0%, rgba(96, 165, 250, 0.22), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card > * {
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.12);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(11, 42, 91, 0.06);
  border: 1px solid rgba(11, 42, 91, 0.1);
  color: var(--brand-navy);
  margin-bottom: 14px;
}

.cta-strip {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(96, 165, 250, 0.12));
  border: 1px solid rgba(11, 42, 91, 0.1);
  padding: 22px 22px;
}

/* Contact */
.contact-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.form-control,
.form-select {
  border-radius: 14px;
  border-color: rgba(15, 23, 42, 0.14);
  padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(45, 212, 191, 0.75);
  box-shadow: 0 0 0 0.25rem rgba(45, 212, 191, 0.12);
}

.contact-info {
  display: grid;
  gap: 14px;
}

.info-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: #ffffff;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(11, 42, 91, 0.06);
  border: 1px solid rgba(11, 42, 91, 0.1);
  color: var(--brand-navy);
  flex: 0 0 auto;
}

.info-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.info-link {
  text-decoration: none;
  color: var(--brand-navy);
}
.info-link:hover {
  text-decoration: underline;
}

.social-panel {
  padding: 16px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: #ffffff;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(11, 42, 91, 0.06);
  border: 1px solid rgba(11, 42, 91, 0.1);
  color: var(--brand-navy);
  text-decoration: none;
  transition: var(--transition);
}
.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.25);
}

.note-card {
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(11, 42, 91, 0.04);
  border: 1px solid rgba(11, 42, 91, 0.08);
  color: var(--text-dark);
}

/* Footer */
.footer-dark {
  background: linear-gradient(180deg, #071a39, #06142d);
  color: rgba(255, 255, 255, 0.92);
}

.footer-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
}

.text-footer-muted {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.social-btn-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(45, 212, 191, 0.35);
}

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 31, 68, 0.88);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.scroll-top.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: rgba(7, 31, 68, 0.96);
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: linear-gradient(180deg, var(--brand-navy), var(--brand-navy-2));
  display: grid;
  place-items: center;
  transition: 260ms ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.preloader-text {
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  opacity: 0.85;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 72px 0;
  }
  .hero-section {
    padding: 74px 0 70px;
  }
  .hero-badges {
    grid-template-columns: 1fr;
  }
}

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