:root {
  --navy-blue: #0a3161;
  --blue: #2c71b8;
  --light-blue: #6ea5d9;
  --baby-blue: #abd1e7;
  --pale-blue: #e3f2fd;
  --white: #ffffff;
  --black: #000000;
  --gray: #f8f9fa;
  --dark-gray: #343a40;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--black);
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease;
  padding: 20px 0;
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

.navbar-brand img {
  height: 40px;
  transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
  height: 35px;
}

.scrolled .navbar-brand img {
  height: 35px;
  filter: invert(100%);
}

.fixed-top a.nav-link {
  color: var(--white);
}

.scrolled .navbar-nav .nav-link {
  color: var(--navy-blue);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--navy-blue);
  visibility: hidden;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover:before {
  visibility: visible;
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: var(--blue);
  font-weight: 600;
}

.navbar-nav .nav-link.active:before {
  visibility: visible;
  width: 100%;
  background-color: var(--blue);
}

.btn-primary {
  background-color: var(--navy-blue);
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Crect width='50' height='50' fill='none'/%3E%3Crect width='1' height='1' fill='%23ffffff10'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.animated-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.animated-circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  animation: pulsate 8s infinite ease-in-out;
}

.animated-circle-2 {
  width: 500px;
  height: 500px;
  bottom: -250px;
  left: -200px;
  animation: pulsate 12s infinite ease-in-out;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.15;
  }
  100% {
    transform: scale(1);
    opacity: 0.1;
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 20px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 70px;
  height: 3px;
  background-color: var(--light-blue);
  transform: translateX(-50%);
}

.feature-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    135deg,
    var(--pale-blue) 0%,
    var(--baby-blue) 100%
  );
  z-index: -1;
  transition: all 0.3s ease;
}

.feature-card:hover:before {
  height: 100%;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--navy-blue);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  color: var(--blue);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--navy-blue);
}

.feature-card p {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* How it works */
.how-it-works {
  padding: 100px 0;
  background-color: var(--gray);
  position: relative;
  overflow: hidden;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--navy-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.step:hover .step-number {
  background-color: var(--blue);
  transform: scale(1.1);
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--navy-blue);
}

.step p {
  font-size: 1rem;
  color: var(--dark-gray);
}

.step-connector {
  position: absolute;
  top: 25px;
  left: 25px;
  width: calc(100% - 50px);
  height: 2px;
  background-color: var(--light-blue);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding: 20px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Value Proposition */
.value-prop {
  padding: 100px 0;
  background-color: var(--white);
}

.value-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--blue) 100%);
  color: var(--white);
}

.value-icon {
  font-size: 3rem;
  color: var(--blue);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  color: var(--white);
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--navy-blue);
  transition: all 0.3s ease;
}

.value-card:hover h3 {
  color: var(--white);
}

.value-card p {
  font-size: 1rem;
  color: var(--dark-gray);
  transition: all 0.3s ease;
}

.value-card:hover p {
  color: var(--pale-blue);
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background-color: var(--gray);
}

/* Security Section */
.security {
  padding: 100px 0;
  background-color: var(--white);
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: var(--gray);
}

.accordion-button {
  background-color: var(--white);
  color: var(--navy-blue);
  font-weight: 600;
  padding: 20px;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: var(--pale-blue);
  color: var(--navy-blue);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--light-blue);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230a3161' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230a3161' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--blue) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Crect width='50' height='50' fill='none'/%3E%3Crect width='1' height='1' fill='%23ffffff10'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.25rem;
  margin: 0 auto 30px;
  max-width: 800px;
}

.btn-white {
  background-color: var(--white);
  color: var(--navy-blue);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-white:hover {
  background-color: var(--pale-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--navy-blue);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  margin-left: 15px;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--navy-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 70px 0 20px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 20px;
}

.footer h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer h4:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--light-blue);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--pale-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-links a:before {
  content: "";
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 20px;
}

.footer-links a:hover:before {
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--blue);
  transform: translateY(-3px);
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--navy-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--blue);
  transform: translateY(-5px);
}

/* Loading animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.6s ease;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-content img {
  height: 60px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero {
    padding: 150px 0 80px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-image {
    margin-top: 50px;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .cta h2 {
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  /* pick your own cutoff */
}
@media (max-width: 767.98px) {
  .navbar {
    background-color: var(--white);
    padding: 15px 0;
  }

  .navbar-brand img {
    filter: brightness(0) saturate(100%);
    -webkit-filter: brightness(0) saturate(100%);
  }

  .hero {
    padding: 120px 0 60px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin: 0 auto 30px;
  }

  .step-connector {
    display: none;
  }

  .step {
    margin-bottom: 30px;
  }

  .cta {
    text-align: center;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1.1rem;
    margin: 0 auto 30px;
  }

  .btn-outline, .btn-white {
    margin-left: 0;
    margin-top: 15px;
  }
}

/* Animation classes */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Custom styles */
.card-step {
  height: 275px;
}

.card-step:hover {
  padding: 0;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.step:hover, .feature-card:hover {
  cursor: pointer;
}