@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Brand Colors */
    --color-primary: #002D62;  
    --color-secondary: #00B8A9;
    --color-accent: #FFD166;  
    
    /* Neutrals */
    --color-background: #FFFFFF;
    --color-surface: #F5F7FA;  
    --color-text: #333333;   
    --color-muted: #666666; 

    /* States */
    --color-success: #00B8A9;
    --color-error: #D9534F; 
    --color-border: #E0E0E0;

    /* Radius & Shadow */
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: "Montserrat", sans-serif;
}

h1, h2, h3 {
  font-weight: 700;
}

.header-section {
    background: var(--color-background);
}

.scrollToTop {
  position: fixed;
  bottom: 0;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--color-primary);
  border-radius: 5px;
  color: #fff;
  line-height: 45px;
  font-size: 20px;
  text-align: center;
  z-index: 9;
  cursor: pointer;
  transition: all 1s;
  transform: translateY(100%);
}

.scrollToTop.active {
  bottom: 30px;
  transform: translateY(0%);
  color: var(--color-secondary);
}

.scrollToTop:hover {
  color: #fff;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: var(--color-background);
}


.navbar-menu {
  display: flex;
  align-items: center; 
  justify-content: flex-end;
  gap: 2rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-brand {
    color: var(--color-primary) !important;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.btn-primary {
    background: var(--color-secondary);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
}

    .btn-primary:hover {
      background: #009C8E;
    }

    .has-dropdown > .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--color-background);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      list-style: none;
      margin: 0;
      padding: 0.5rem 0;
      min-width: 180px;
      z-index: 1000;
    }

    .has-dropdown.open > .dropdown-menu {
      display: block;
    }

    .dropdown-menu li {
      position: relative;
    }

    .dropdown-menu a {
      display: block;
      padding: 0.5rem 1rem;
      color: var(--color-primary);
      text-decoration: none;
    }

    .dropdown-menu a:hover {
      background: var(--color-surface);
      color: var(--color-secondary);
    }

    .has-submenu > .submenu {
      display: none;
      position: absolute;
      top: 0;
      left: 100%;
      background: var(--color-background);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      list-style: none;
      margin: 0;
      padding: 0.5rem 0;
      min-width: 180px;
      z-index: 1001;
    }

    .has-submenu.open > .submenu {
      display: block;
    }

    .submenu-toggle {
      cursor: pointer;
    }

    /* Optional: Add simple arrow indicators */
    .submenu-toggle::after {
      content: "▶";
      float: right;
      font-size: 0.7rem;
      margin-left: 0.5rem;
    }

.hero-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.hero-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)); /* Dark overlay */
}

.hero-slide .container {
  position: relative;
  z-index: 2; /* content sits above overlay */
}

.partners-section .partner-logo {
  max-height: 50px;
  /* filter: grayscale(100%); */
  transition: filter 0.3s ease;
}

.partners-section .partner-logo:hover {
  filter: grayscale(0%);
}

.hero-section .btn-primary {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-primary);
}

.features-section {
  padding: 5rem 0;
}

.features-section .feature-block {
  margin-bottom: 4rem;
}

.features-section .icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.features-section .icon-wrap img {
  max-width: 60%;
}

.features-section .subtitle {
  color: var(--color-secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.features-section .title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.features-section .description {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.features-section .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-section .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.features-section .feature-item img {
  width: 20px;
  margin-right: 0.75rem;
}

.features-section .feature-image img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.features-section.alt {
  background: var(--color-surface);
}

.features-section.app-download {
  background: var(--color-surface);
  position: relative;
}

.features-section.app-download .top-section {
  margin-bottom: 2rem;
}

.features-section.app-download .sub-title {
  color: var(--color-secondary);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.features-section.app-download .title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.features-section.app-download p {
  color: var(--color-text);
  line-height: 1.7;
}

.features-section.app-download .list {
  margin-top: 1.5rem;
}

.features-section.app-download .list .list-item {
  margin-top: 1rem;
  color: var(--color-text);
}

.features-section.app-download .list .check {
  width: 28px;
  height: 28px;
  background: var(--color-secondary);
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}

.features-section.app-download .list .check img {
  width: 14px;
}

.features-section.app-download .button-group {
  margin-top: 2rem;
}

.features-section.app-download .button-group a {
  display: inline-block;
  margin-right: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-section.app-download .button-group a:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.features-section.app-download .button-group img {
  height: 50px;
}

.features-section.app-download .img-area {
  text-align: right;
}

.features-section.app-download .img-area img {
  max-width: 90%;
  animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.solutions-business {
  background: var(--color-background);
  position: relative;
}

.solutions-business .section-header .sub-title {
  color: var(--color-secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.solutions-business .section-header .title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.solutions-business .section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text);
}

.solution-card {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(47, 65, 129, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(47, 65, 129, 0.12);
}

.solution-card .icon-circle {
  width: 80px;
  height: 80px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.solution-card .icon-circle img {
  width: 40px;
}

.solution-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.solution-card p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solution-card .btn-link {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.solution-card .btn-link img {
  width: 18px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.solution-card .btn-link:hover {
  color: var(--color-primary);
}

.solution-card .btn-link:hover img {
  transform: translateX(5px);
}

/* Base background refinement */
.card-section {
  background-image: url('../images/card-bg.png');
  background-position: top left -150px;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
}

.card-section .sub-title {
  color: #1a4dbe;
  font-weight: 600;
}

.card-section .title {
  color: #1e266d;
}

.card-section .btn-primary {
  background-color: #1a4dbe;
  border: none;
}

.card-section .btn-primary:hover {
  background-color: #163f9a;
}

.card-section .carousel-control-prev-icon,
.card-section .carousel-control-next-icon {
  background-size: 70% 70%;
}

.card-section .nav-pills .nav-link {
  color: #1e266d;
  font-weight: 500;
}

.card-section .nav-pills .nav-link.active {
  background-color: #1a4dbe;
  color: #fff;
}

.feature-box:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
  transition: 0.3s ease;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eaf1ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.financial-planning .plan-box {
  transition: border 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}

.financial-planning .plan-box:hover {
  border: 1px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.financial-planning .thumb-wrapper {
  position: relative;
  overflow: hidden;
}

.financial-planning .thumb-wrapper img {
  transition: opacity 0.3s ease;
}

/* Personalized Section — updated aesthetics */
.personalized {
  background: var(--color-primary); /* your main accent color */
  color: #fff;
}

.personalized .img-area img {
  max-width: 100%;
  border-radius: 1rem;
}

.personalized h3 {
  font-size: 2rem;
}

.personalized p {
  color: #f8f9fa; /* subtle off-white for contrast */
}

.personalized .btn {
  transition: all 0.3s ease;
}

.personalized .btn:hover {
  background: var(--color-background);
  color: var(--color-primary);
}

/* Testimonials Section — Modern Aesthetic */

.testimonials {
  background: var(--color-background); /* soft light background */
}

.testimonials .sub-title {
  letter-spacing: 1px;
  color: var(--color-secondary);
  font-weight: bold;
}

.testimonials .title {
  font-size: 2rem;
}

.testimonials .carousel-item {
  padding: 2rem;
}

.testimonials .carousel-inner {
  border-radius: 1rem;
}

.testimonials img.rounded-circle {
  border: 5px solid var(--color-primary);
}

.testimonials .content {
  padding: 1rem;
}

.testimonials .content h5 {
  margin-bottom: 1rem;
}

.testimonials .content p {
  color: #555;
  line-height: 1.6;
}

.testimonials .carousel-control-prev-icon,
.testimonials .carousel-control-next-icon {
  background-size: 100%, 100%;
  background-image: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials .carousel-control-prev-icon::after,
.testimonials .carousel-control-next-icon::after {
  content: '';
  display: inline-block;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  padding: 8px;
}

.testimonials .carousel-control-prev-icon::after {
  transform: rotate(135deg);
}

.testimonials .carousel-control-next-icon::after {
  transform: rotate(-45deg);
}

/* .testimonials .carousel-control-prev-icon,
.testimonials .carousel-control-next-icon {
  background: var(--color-primary);
} */

.testimonials .carousel-control-prev,
.testimonials .carousel-control-next {
  width: auto;
}

/* Latest Articles — Clean, Responsive, Modern */

.latest-articles {
  background: #f8f9fa;
}

.latest-articles .sub-title {
  letter-spacing: 0.05rem;
  color: var(--color-secondary);
  font-weight: bold;
}

.latest-articles .title {
  font-size: 2rem;
}

.latest-articles .card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.latest-articles .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.latest-articles .hover-zoom {
  transition: transform 0.5s ease;
}

.latest-articles .card:hover .hover-zoom {
  transform: scale(1.1);
}

.latest-articles .card-body {
  padding: 1.5rem;
}

.latest-articles .card-title {
  font-size: 1.2rem;
}

.latest-articles .btn-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: 0.3s ease;
}

.latest-articles .btn-link:hover {
  color: var(--hover-color);
}

.latest-articles .btn-link i {
  transition: transform 0.3s ease;
}

.latest-articles .btn-link:hover i {
  transform: translateX(5px);
}

/* Get Started CTA Section */

.get-started {
  background: #f9f9f9;
}

.get-started .bg-primary {
  background: #1A4DBE;
}

.get-started h3 {
  font-size: 1.75rem;
}

.get-started p {
  color: #f8f9fa;
  font-size: 1rem;
}

.get-started .btn {
  border: 2px solid #fff;
  border-radius: 50px;
  transition: all 0.3s ease;
  color: var(--color-primary);
}

.get-started .btn:hover {
  background: transparent;
  color: #fff;
}

.get-started .get-start-img {
  max-height: 150px;
  position: absolute;
  bottom: 0;
  right: 40px;
}

/* FOOTER STYLES */
.footer-section {
  background: #1A4DBE;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.footer-section .footer-logo img {
  max-height: 30px;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-section .footer-links li {
  margin-bottom: 10px;
}

.footer-section .footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-section .footer-links li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-section .social-link a,
.footer-section .d-flex a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-section .social-link a:hover,
.footer-section .d-flex a:hover {
  background: #fff;
  color: #1A4DBE;
  border-color: #fff;
}

.footer-section .form-control {
  border: none;
  padding: 10px 20px;
}

.footer-section .btn {
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-section .btn:hover {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.footer-section .footer-bottom {
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-section .footer-bottom a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section .footer-bottom a:hover {
  color: #fff;
}


@media (max-width: 768px) {
  .features-section {
    text-align: center;
  }

  .features-section .feature-text {
    margin-bottom: 2rem;
  }

  .solution-card {
    padding: 2rem 1.5rem;
  }

  .features-section.app-download .img-area img {
    max-width: 100%;
    animation: floatUpDown 4s ease-in-out infinite;
  }
}


/* Mobile styles */
@media (max-width: 992px) {
  .navbar-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    display: none; /* Hidden by default */
    margin-top: 1rem;
  }

  .navbar-menu.show {
    display: flex; /* Shown when toggled */
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .btn-primary {
    align-self: center; /* Make the button align nicely */
  }

  .has-dropdown > .dropdown-menu,
  .has-submenu > .submenu {
    position: relative; /* So they stay inline */
    top: auto;
    left: auto;
    box-shadow: none;
  }

  .has-dropdown.open > .dropdown-menu,
  .has-submenu.open > .submenu {
    display: block; /* Expand inside mobile */
  }

  .features-section.app-download .img-area img {
    max-width: 100%;
    animation: floatUpDown 4s ease-in-out infinite;
  }
}
