:root {
  --spg-primary: #004f9e;
  --spg-accent: #00a8f0;
  --spg-dark: #002244;
  --spg-light-blue: #eef7fc;
  --spg-teal: #00b4d8;
  --spg-gray-bg: #f8fafc;
  --spg-text-dark: #101828;
  --spg-text-muted: #64748b;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--spg-text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Poppins', sans-serif;
}
.top-bar {
  background-color: var(--spg-dark);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--spg-accent);
}
.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}
.top-bar a:hover {
  color: var(--spg-accent);
}
.navbar {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 79, 158, 0.08);
  padding: 12px 0;
  transition: all 0.3s ease;
}
.navbar-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.nav-link {
  font-weight: 600;
  color: var(--spg-dark);
  padding: 8px 16px !important;
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--spg-accent);
}
.btn-spg-primary {
  background-color: var(--spg-primary);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  transition: all 0.3s ease;
}
.btn-spg-primary:hover {
  background-color: var(--spg-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 79, 158, 0.3);
}
.btn-spg-outline {
  border: 2px solid var(--spg-accent);
  color: #ffffff;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 6px;
  background: transparent;
  transition: all 0.3s ease;
}
.btn-spg-outline:hover {
  background-color: var(--spg-accent);
  color: #ffffff;
}
.hero-section {
  background: linear-gradient(135deg, rgba(0, 34, 68, 0.94) 0%, rgba(0, 79, 158, 0.9) 100%), url('https://images.unsplash.com/photo-1581093458791-9f3c3900df4b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 120px 0 100px;
  position: relative;
}
.hero-badge {
  background: rgba(0, 168, 240, 0.18);
  border: 1px solid var(--spg-accent);
  color: var(--spg-accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 35px;
  max-width: 650px;
  line-height: 1.6;
}
/* Stats Bar */
.stats-section {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}
.stats-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 79, 158, 0.1);
  border-bottom: 4px solid var(--spg-accent);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
}
.stats-card:hover {
  transform: translateY(-5px);
}
.stats-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--spg-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-label {
  font-size: 0.9rem;
  color: var(--spg-text-muted);
  font-weight: 500;
}
.section-padding {
  padding: 90px 0;
}
.section-tag {
  color: var(--spg-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--spg-dark);
  margin-bottom: 20px;
}
.strength-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 35px 25px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.strength-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--spg-accent);
  transition: width 0.3s ease;
}
.strength-box:hover::before {
  width: 8px;
}
.strength-box:hover {
  box-shadow: 0 12px 25px rgba(0, 168, 240, 0.12);
  transform: translateY(-3px);
}
.strength-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(0, 79, 158, 0.15);
  position: absolute;
  top: 20px;
  right: 25px;
}
.strength-icon {
  width: 60px;
  height: 60px;
  background-color: var(--spg-light-blue);
  color: var(--spg-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.roadmap-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 15px;
}
.software-card {
  background: linear-gradient(135deg, var(--spg-dark) 0%, var(--spg-primary) 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 168, 240, 0.2);
}
.software-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 168, 240, 0.3);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  width: 100%;
}
.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: var(--spg-accent);
  box-shadow: 0 10px 30px rgba(0, 168, 240, 0.15);
}
.service-icon {
  font-size: 2rem;
  color: var(--spg-accent);
  margin-bottom: 20px;
}
.service-badge {
  font-size: 0.75rem;
  background-color: var(--spg-light-blue);
  color: var(--spg-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.ref-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  height: 100%;
}
.ref-card-header {
  padding: 20px;
  background: var(--spg-light-blue);
  border-bottom: 1px solid #e2e8f0;
}
.ref-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-completed {
  background: #dcfce7;
  color: #15803d;
}
.badge-active {
  background: #e0f2fe;
  color: #0369a1;
}
.badge-transferred {
  background: #fef3c7;
  color: #b45309;
}
/* Office Cards */
.office-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}
.office-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border-color: var(--spg-accent);
}
.office-city {
  color: var(--spg-primary);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Contact Form */
.contact-form-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 79, 158, 0.08);
  border: 1px solid #e2e8f0;
}
.form-control, .form-select {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}
.form-control:focus, .form-select:focus {
  border-color: var(--spg-accent);
  box-shadow: 0 0 0 3px rgba(0, 168, 240, 0.2);
}
.api-banner {
  background: linear-gradient(90deg, var(--spg-dark) 0%, var(--spg-primary) 100%);
  color: white;
  border-radius: 12px;
  padding: 25px;
  margin-top: 40px;
  border-left: 5px solid var(--spg-accent);
}
footer {
  background-color: var(--spg-dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 4px solid var(--spg-accent);
}
footer h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover {
  color: var(--spg-accent);
}
.footer-logo-box {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 20px;
}
.footer-logo-box img {
  height: 38px;
  width: auto;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 25px;
  font-size: 0.85rem;
}
.footer-logo {
  margin-top: 12px;
  display: inline-block;
}
.footer-logo img {
  max-width: 180px;
  height: auto;
  opacity: 0.85;
  transition: transform 0.3s ease-in-out;
}
.footer-logo img:hover {
  opacity: 1;
  transform: scale(1.1);
}
.hero-section {
  position: relative;
  padding-top: 50px;
  padding-bottom: 90px;
  background: linear-gradient(135deg, #0a1f33 0%, #103a5c 50%, #0a2540 100%);
  color: #ffffff;
}
.hero-section .carousel-item {
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}
.water-waves-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}
.water-waves {
  position: relative;
  width: 100%;
  height: 80px;
  margin-bottom: -1px;
}
.parallax-waves > use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}
.parallax-waves > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax-waves > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax-waves > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax-waves > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
@media (max-width: 768px) {
  .water-waves {
    height: 40px;
  }
  .hero-section {
    padding-bottom: 60px;
  }
}
.digital-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 140px;
}
.digital-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
.dark-db-card {
  background-color: #0c2340 !important;
  color: #ffffff;
}
.db-icon-wrap {
  width: 58px;
  height: 58px;
  background-color: rgba(255, 255, 255, 0.08);
}
.tracking-wider {
  letter-spacing: 0.8px;
}
.dashboard-preview-card {
  border-color: #e5edf5 !important;
}
.dashboard-img-frame img {
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.service-card {
  transition: transform 0.3s ease, shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}
.service-card .btn-outline-primary {
  transition: all 0.2s ease-in-out;
}
.service-card:hover .btn-outline-primary {
  background-color: var(--spg-primary, #0d6efd);
  color: #fff;
}
.spg-modal-header {
  border-bottom: none;
  padding-bottom: 0;
}
.spg-navy-card {
  background-color: #0f2744;
  color: #ffffff;
  border-radius: 16px;
  padding: 30px;
}
.spg-navy-card h4, .spg-navy-card h5 {
  color: #ffffff;
}
.spg-navy-card p {
  color: #cbd5e1;
}
.spg-icon-circle {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spg-check-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.spg-check-icon {
  color: #0099ff;
  font-size: 1.2rem;
  margin-top: 2px;
}
.spg-value-chain-bar {
  background-color: #f0f6fa;
  border: 1px solid #e1ebf2;
  border-radius: 12px;
  padding: 16px 24px;
}
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
}
.flow-step {
  text-align: center;
  z-index: 2;
  flex: 1;
}
.flow-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #fff;
  font-size: 1.5rem;
}
.flow-arrow {
  color: #0099ff;
  font-size: 1.5rem;
  padding: 0 10px;
}
.dma-diagram-box {
  background: #f4f9fc;
  border: 1px dashed #b1d4e5;
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.dma-line-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 30px 0 15px;
}
.dma-line-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #0088cc;
  z-index: 1;
}
.dma-node {
  background-color: #fff;
  z-index: 2;
  position: relative;
  padding: 10px;
  border-radius: 50%;
  border: 3px solid #0088cc;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}
.dma-node-dark {
  background-color: #0f2744;
  border-color: #0f2744;
  color: #fff;
}
.dma-node-teal {
  background-color: #00a896;
  border-color: #00a896;
  color: #fff;
}
.dma-node-blue {
  background-color: #0088cc;
  border-color: #0088cc;
  color: #fff;
}
.language-selector .flag-icon {
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.language-selector button {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.language-selector button:hover, .language-selector button.active {
  opacity: 1;
}
#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--spg-primary, #0f2744);
  color: white;
  cursor: pointer;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s;
}
#backToTopBtn:hover {
  background-color: var(--spg-accent, #0dcaf0);
  transform: translateY(-3px);
}