/* @font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/NunitoSans/NunitoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/NunitoSans/NunitoSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/Nunito/Nunito-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
} */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: #000066;
  background-color: #ffffff;
  overflow-x: hidden;
}


.navbar {
  background-color: transparent !important; 
  box-shadow: none !important; 
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar .nav-link {
  color: #000066;
  transition: color 0.3s;
  margin: 0 10px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #0034FE;
}


.dropdown-menu {
  border-radius: 12px;
  padding: 1rem;
}

.dropdown-item {
  font-weight: 500;
  color: #000066;
  padding: 0.5rem 1.2rem;
}

.dropdown-item:hover {
  background-color: #EAF2FF;
  color: #0034FE;
}

.dropdown-item.active {
  background-color: transparent;
  color: #0034FE !important;
}


@media (max-width: 991px) {
  .navbar-collapse {
    background-color: white; 
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .dropdown-menu {
    background-color: #fff !important;
    border-radius: 10px;
  }
}


.hero-section {
  position: relative;
  z-index: 1;
  padding-top: 120px; 
}

.hero-section h1 {
  color: #000066;
  font-weight: 800;
}

.hero-section p {
  color: #333;
  font-size: 1rem;
}

/* .hero-section img {
  animation: float 4s ease-in-out infinite;
} */

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}


@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }


  .navbar-nav .nav-item {
    margin: 8px 0;
  }
}

#allycare-powered {
  background-color: #fff;
}

#allycare-powered .count {
  font-size: 2.5rem;
  transition: color 0.3s ease;
}


.feature-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-img {
  position: absolute;
  bottom: 5px;
  right: 20px;
  width: 120px;
  height: auto;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}


.feature-img.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .feature-card {
    min-height: 300px;
    padding-bottom: 70px;
  }

  .feature-img {
    width: 90px;
    bottom: -8px;
  }
}

@media (max-width: 575.98px) {
  .feature-card {
    min-height: 260px;
    padding-bottom: 60px;
  }

  .feature-img {
    width: 75px;
    bottom: -5px;
  }
}

.period-btn {
  border-color: rgba(9, 37, 175, 0.2);
  border-radius: 10px;
  color: rgba(9, 37, 175, 1);
}


.testimonial-section {
  background-color: #e6f0ff;
  width: 100%;
  overflow: hidden;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  min-height: 450px;
}

.testimonial-text {
  flex: 1 1 50%;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #001d6e;
}

.testimonial-text h2 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.testimonial-text blockquote {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.testimonial-text .quote {
  font-size: 2rem;
  color: #001d6e;
  font-weight: bold;
}

.testimonial-text h4 {
  font-weight: 700;
  margin-top: 1rem;
}

.role {
  color: #001d6e;
  font-weight: 600;
}

/* Image section */
.testimonial-image {
  flex: 1 1 50%;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.custom-indicators {
  position: relative !important;
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.custom-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  margin: 0 4px;
  transition: background-color 0.3s;
}
.custom-indicators .active {
  background-color: #000066 !important;
}


/* Responsiveness */
@media (max-width: 768px) {
  .testimonial-container {
    flex-direction: column;
  }

  .testimonial-text,
  .testimonial-image {
    flex: 1 1 100%;
  }

  .testimonial-text {
    order: 2;
    text-align: center;
  }

  .testimonial-image {
    order: 1;
    height: 300px;
  }

  .custom-indicators {
    justify-content: center;
  }
}



.join-box {
  background-color: rgba(255, 254, 204, 1);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.subscribe-form .form-control {
  height: 45px;
}

.subscribe-form .btn {
  height: 45px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.subscribe-form .btn:hover {
  background-color: #0034fe;
}

/* Responsive alignment */
@media (max-width: 768px) {
  .join-box {
    text-align: center;
  }

  .subscribe-form .input-group {
    flex-direction: column;
  }

  .subscribe-form .btn {
    width: 100%;
    margin-top: 10px;
  }

  .subscribe-form form {
    position: static !important;
  }

  .subscribe-form button {
    position: static !important;
    width: 100%;
    margin-top: 10px;
    transform: none !important;
  }

}

footer a {
  color: #878690;
}

footer ul li {
  margin-bottom: 10px;
  color: #878690;
}

footer h6 {
  font-size: 0.95rem;
}

footer p,
footer li {
  line-height: 1.45;
  font-size: 10px;
}

footer img {
  max-width: 100%;
  height: auto;
}

footer hr {
  opacity: 0.15;
}
.video-bgless {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
  background: transparent !important; 
  border: none;
  box-shadow: none;
}


.save-section {
  background-color: #E6F3FC;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.image-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end; 
  justify-content: center;
  height: 100%; 
}
.store-links img { height: 40px; }
.woman-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  position: relative;
  transform: translateY(10%);
}


@media (max-width: 991px) {
  .save-section {
    text-align: center;
    padding-top: 80px;
  }

  .save-section h1 {
    font-size: 2.2rem;
  }

  .image-wrapper {
    align-items: center;
    margin-top: 1rem;
  }

  .woman-image {
    max-height: 350px;
    transform: translateY(5%); 
  }

  .store-links {
    justify-content: center;
  }
}


.woman-img {
  bottom: -50px;
  right: -40px; 
  max-width: 90%;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
}

/* === Responsiveness === */
@media (max-width: 991.98px) {
  #money-engine h2 {
    line-height: 50px;
    font-size: 36px;
  }

  .woman-img {
    right: 0;
    bottom: 0;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .woman-img {
    position: relative;
    display: block;
    margin: 0 auto;
    right: 0;
    bottom: 0;
    max-width: 90%;
  }

  #money-engine {
    text-align: center;
  }

  #money-engine ul {
    text-align: left;
    margin: 0 auto;
    max-width: 320px;
  }
}

.how-card {
  border-radius: 24px;
  height: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem;
  position: relative;
  box-sizing: border-box;
}

.how-card h5 {

  font-weight: 600;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
  z-index: 2;
}

.phone-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.phone-img {
  width: 90%;
  height: auto;
  max-height: 95%;
  object-fit: contain;
  border-radius: inherit;
}

/* hover animation for desktop */
@media (min-width: 768px) {
  .how-card:hover {
    transform: translateY(-6px);
    transition: 0.3s ease;
  }
}

/* Mobile optimization */
@media (max-width: 767px) {
  .how-card {
    height: 400px;
  }

  .phone-img {
    width: 85%;
    max-height: 90%;
  }
}