/* @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 STYLES ===== */
.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-brand img {
  height: 30px;
  width: auto;
}

.navbar .nav-link {
  color: #000066;
  transition: color 0.3s;
  margin: 0 10px;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  position: relative;
  z-index: 1;
}

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

.navbar .nav-link.active,
.navbar .nav-link.text-primary {
  color: #0034FE !important;
}

/* Dropdown Menu */
.dropdown-menu {
  border-radius: 12px;
  padding: 1rem;
  background-color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
}

.dropdown-item {
  font-weight: 500;
  color: #000066;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

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

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

.navbar-toggler {
  border: 2px solid #000066;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.navbar-toggler:focus {
  box-shadow: none;
  border-color: #0034FE;
}


@media (max-width: 991px) {
  .navbar {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }

  .navbar-collapse {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .navbar .nav-link {
    margin: 0;
    padding: 0.75rem 1rem;
    display: block;
    width: 100%;
    text-align: left;
    color: #000066;
    font-weight: 600;
    position: relative;
    z-index: 10;
    pointer-events: auto;
  }

  .navbar .nav-link:active,
  .navbar .nav-link:focus {
    color: #0034FE;
    background-color: #EAF2FF;
    border-radius: 6px;
  }


  .navbar-nav .nav-item {
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 10;
  }


  .dropdown-menu {
    background-color: #f8f9fa !important;
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.25rem;
    box-shadow: none;
    border: 1px solid #e0e0e0;
    position: relative !important;
    transform: none !important;
    width: 100%;
  }

  .dropdown-item {
    padding: 0.6rem 1rem;
    color: #000066;
    font-size: 0.95rem;
  }

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

  .nav-item.dropdown {
    position: relative;
  }

  .dropdown-toggle::after {
    float: right;
    margin-top: 0.4rem;
  }


  .dropdown-menu li:not(.dropdown-item) {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
  }
}


@media (max-width: 768px) {
  .navbar-brand img {
    height: 26px;
  }

  .navbar-collapse {
    padding: 1.25rem 0.875rem;
  }

  .navbar .nav-link {
    padding: 0.65rem 0.875rem;
    font-size: 0.95rem;
  }
  .store-icons{
    text-align:center;
    margin-left: 20px;
  }
}


@media (max-width: 576px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand img {
    height: 24px;
  }

  .navbar-collapse {
    padding: 1rem 0.75rem;
    margin-top: 0.75rem;
  }

  .navbar .nav-link {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
  }

  .dropdown-item {
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
  }
}



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

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



#feature-list {
  padding: 80px 0;
}

#feature-list h2 {
  color: #1B1B1B;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}



#feature-list {
  padding: 80px 0;
}

#feature-list h2 {
  color: #1B1B1B;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}


.feature-card {
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: 60px !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0;
  color: #1B1B1B;
  max-width: 85%;
}


.feature-img {
  position: absolute;
  bottom: 0;
  right: 15px;
  height: 85px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  object-position: bottom;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

/* Link Reset */
.feature-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.feature-card-link:hover {
  text-decoration: none;
  color: inherit;
}

@media (min-width: 1200px) {
  .feature-card {
    min-height: 220px;
    padding-bottom: 65px !important;
  }

  .feature-img {
    height: 95px;
    max-width: 110px;
    right: 20px;
  }

  .feature-card h5 {
    font-size: 1.25rem;
  }

  .feature-card p {
    font-size: 0.95rem;
  }
}


@media (max-width: 992px) {
  #feature-list {
    padding: 60px 0;
  }

  #feature-list h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

  .feature-card {
    min-height: 260px;
    padding-bottom: 75px !important;
  }

  .feature-card h5 {
    font-size: 1.25rem;
  }

  .feature-card p {
    font-size: 0.95rem;
    max-width: 80%;
  }

  .feature-img {
    height: 100px;
    max-width: 120px;
    right: 12px;
  }
}

/* ===== MOBILE LANDSCAPE (768px - 576px) ===== */
@media (max-width: 768px) {
  #feature-list {
    padding: 50px 0;
  }

  #feature-list h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .feature-card {
    min-height: 240px;
    padding: 1.25rem 1rem 70px 1rem !important;
  }

  .feature-card h5 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 75%;
  }

  .feature-img {
    height: 90px;
    max-width: 110px;
    right: 10px;
    bottom: 0;
  }
}

/* ===== MOBILE PORTRAIT (576px and below) ===== */
@media (max-width: 576px) {
  #feature-list {
    padding: 40px 0;
  }

  #feature-list h2 {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
  }

  .feature-card {
    min-height: 220px;
    padding: 1rem 0.875rem 65px 0.875rem !important;
  }

  .feature-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 70%;
  }

  /* Fixed height for all images on mobile */
  .feature-img {
    height: 85px;
    max-width: 100px;
    right: 8px;
    bottom: 0;
  }


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


@media (max-width: 400px) {
  #feature-list {
    padding: 35px 0;
  }

  #feature-list h2 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  .feature-card {
    min-height: 200px;
    padding: 0.875rem 0.75rem 60px 0.75rem !important;
  }

  .feature-card h5 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.8rem;
    max-width: 65%;
  }

  .feature-img {
    height: 75px;
    max-width: 90px;
    right: 6px;
  }
}


@media (max-width: 768px) {
  .feature-img {
  
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }
  

  .feature-card .feature-img {
    animation: fadeInUp 0.6s ease-out forwards;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-img {
    transition: none;
    animation: none;
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-img.visible {
    transform: none;
  }
}


@media print {
  .feature-card {
    page-break-inside: avoid;
    min-height: auto;
  }

  .feature-img {
    position: static;
    opacity: 1;
    transform: none;
  }
}
.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;
}


  @media (max-width: 767.98px) {
    footer .row.ms-5 {
      margin-left: 0 !important;
    }
    .contact p{
      font-size:11px;
     
    }
  }


.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%;
  }
}