:root {
  --primary: #003366;
  --primary-soft: #0b488c;
  --accent: #00a8e8;
  --accent-soft: #e0f6ff;
  --text-main: #102033;
  --text-muted: #64748b;
  --border-soft: #e2e8f0;
  --light: #f8fafc;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f8fafc;
  color: var(--text-main);
  scroll-behavior: smooth;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.navbar .navbar-brand img {
  height: auto;
}

.navbar .nav-link,
.navbar-brand {
  color: var(--primary);
  font-size: 0.9rem;
}

.navbar .nav-link {
  position: relative;
  padding-bottom: 0.3rem;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.25s ease;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--accent);
}

.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
  width: 100%;
}

.btn-outline-light {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-light:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Hero section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top left,
      rgba(0, 51, 102, 0.65),
      transparent
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0, 168, 232, 0.45),
      transparent
    );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 7rem 0 5rem;
}

.badge-pill {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 12, 32, 0.7);
  backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(2.5rem, 3vw + 1.4rem, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 36rem;
  opacity: 0.9;
}

.hero-cta .btn {
  border-radius: 999px;
  padding-inline: 1.7rem;
  font-weight: 500;
}

.btn-warning {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
}

.btn-warning:hover {
  background: #0192c9;
  border-color: #0192c9;
}

.btn-primary-soft {
  background: rgba(0, 51, 102, 0.08);
  color: var(--primary);
  border: 1px solid rgba(0, 51, 102, 0.15);
}

.btn-primary-soft:hover {
  background: rgba(0, 51, 102, 0.16);
  color: var(--primary);
}

.hero-metrics {
  font-size: 0.85rem;
  opacity: 0.9;
}

.metric-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-card {
  background: rgba(6, 20, 40, 0.9);
  border-radius: 1.5rem;
  padding: 1.9rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
}

.hero-card .form-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-control,
.form-select {
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(6, 20, 40, 0.7);
  color: #fff;
  font-size: 0.9rem;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem rgba(0, 168, 232, 0.35);
  background: rgba(6, 20, 40, 0.95);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-weight: 600;
  font-size: 1.8rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.section-alt {
  background: #ffffff;
}

/* Services / features */
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(0, 168, 232, 0.08);
  color: var(--accent);
}

.feature-card {
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 22px rgba(15, 35, 52, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(4, 33, 63, 0.18);
  background: linear-gradient(145deg, #ffffff 0, var(--accent-soft) 100%);
}

/* Image cards */
.image-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(4, 24, 54, 0.25);
  background: #020817;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.8s ease;
}

.image-card:hover img {
  transform: scale(1.07);
}

.image-tag {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  backdrop-filter: blur(12px);
}

/* Customer relations section */
.cr-card {
  border-radius: 1.25rem;
  border: 1px solid #e0e6f0;
  padding: 1.7rem 1.5rem;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
}

.timeline-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}

.timeline-dot::after {
  content: "";
  position: absolute;
  inset: -0.3rem;
  border-radius: inherit;
  border: 2px solid rgba(0, 168, 232, 0.35);
}

/* CTA strip */
.cta-strip {
  border-radius: 1.5rem;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff;
  padding: 2rem 2.2rem;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.9), transparent);
  top: -70px;
  right: -40px;
  opacity: 0.18;
}

footer {
  border-top: 1px solid var(--border-soft);
  background: #ffffff;
  font-size: 0.85rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.appear {
  opacity: 1;
  transform: translateY(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right.appear {
  opacity: 1;
  transform: translateX(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left.appear {
  opacity: 1;
  transform: translateX(0);
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero {
    min-height: 92vh;
  }

  .hero-card {
    margin-top: 2.5rem;
  }

  .cta-strip {
    padding: 1.8rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-card {
    border-radius: 1.1rem;
  }

  section {
    padding: 3.25rem 0;
  }
}

/* Footer terms link styling */
footer .terms-link {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.25s ease;
}
footer .terms-link:hover {
  color: var(--primary);
}

.footer-section .hover-link:hover {
  color: var(--accent) !important;
  transform: translateX(4px);
}
.footer-section .text-accent {
  color: var(--accent) !important;
}
@media (max-width: 768px) {
  .footer-section .col-lg-4:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}

.form-subject{
  color: white;
}
.form-control:focus, .form-select:focus{
  color: white;
}