.main-nav .dropdown {
                  position: relative;
                }

                /* Parent menu item hover (Services) */
                .main-nav .dropdown>a:hover,
                .main-nav .dropdown>a:focus {
                  background: #7453fc;
                  color: #fff;
                }

                /* Submenu default */
                .main-nav .dropdown-menu {
                  display: none;
                  position: absolute;
                  left: 50%;
                  top: 100%;
                  min-width: 200px;
                  background: #fff;
                  

                  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
                  z-index: 1000;
                  padding: 10px 0;
                  border-radius: 8px;

                  transform: translateX(-50%);
                  /* text-align: center; */
                }

                .main-nav .dropdown-menu li {
                  width: 100%;
                  
                }
                .main-nav .dropdown-menu a {
                  color: #222 !important;
                  background: none !important;
                  transition: background 0.2s, color 0.2s;
                }

                /* Submenu hover */
                .main-nav .dropdown-menu a:hover,
                .main-nav .dropdown-menu a:focus {
                  background: #7453fc !important;
                  color: #fff !important;
                }

                /* Show submenu on hover */
                .main-nav .dropdown:hover>.dropdown-menu,
                .main-nav .dropdown:focus-within>.dropdown-menu {
                  display: block;
                }

                /* Mobile styles */
                @media (max-width: 991px) {
                  .main-nav .dropdown-menu {
                    position: static;
                    min-width: 0;
                    box-shadow: none;
                    border-radius: 0;
                    padding: 0;
                    background: #fff;
                    transform: none;
                    text-align: center;
                    margin: 0 auto;
                  }

                  .main-nav .dropdown-menu li {
                    width: 100%;
                  }

                  .main-nav .dropdown-menu a {
                    padding: 14px 0;
                    /* margin-bottom: 10px; */
                    /* border-bottom: 1px solid #eee; */
                  }

                  .main-nav .dropdown:hover .dropdown-menu,
                  .main-nav .dropdown:focus-within .dropdown-menu {
                    display: block;
                  }

                  /* Ensure dropdown doesn't overlap and is aligned */
                  .main-nav .dropdown-menu {
                    margin-left: 0;
                    left: 0;
                    right: 0;
                  }
                }

                /* Services Card */
                /* Beautiful Card Animation and Shadow */
.amazon-accounting-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(116, 83, 252, 0.12), 0 1.5px 6px rgba(0,0,0,0.08);
  padding: 36px 32px 32px 32px;
  margin: 40px auto 0 auto;
  max-width: 650px;
  transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.7s cubic-bezier(.4,2,.6,1);
}
.amazon-accounting-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 16px 48px rgba(116, 83, 252, 0.18), 0 3px 12px rgba(0,0,0,0.10);
}
.amazon-accounting-card h4 {
  color: #7453fc;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.amazon-accounting-card ul {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.amazon-accounting-card li {
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: #222;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  background: transparent;
  border-radius: 8px;
  transition: background 0.2s;
  padding: 6px 0 6px 0;
}
.amazon-accounting-card li i {
  color: #7453fc;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}



/*
--------------------- 
Service card homepage
---------------------
*/
/* ---------- Horizontal (left-image) card ---------- */
.service-card {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card.horizontal-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  min-height: 120px;
  padding: 8px;
  /* margin-bottom: 5%; */

  box-shadow: 0 6px 18px rgba(22,33,62,0.07);
  transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s ease, opacity .45s ease;
  transform: translateY(12px);
  opacity: 0;
  will-change: transform, opacity;
}

/* Left column reserved for circular logo */
.service-card-left {
  flex: 0 0 96px;           /* fixed column for logo */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: transparent;
}

/* Circular logo container */
.logo-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 18px rgba(22,33,62,0.04);
}

/* Logo image sizing (keeps logo centered & proportional) */
.logo-wrap img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  display: block;
}

/* Vertical gradient divider between logo and content */
.service-card-divider {
  width: 8px;
  height: 64%;
  border-radius: 6px;
  background: linear-gradient(180deg, #6c63ff 0%, #00c6ff 100%);
  flex: 0 0 8px;
  margin-left: 2px;
  margin-right: 8px;
  margin-top: 20%;
}

/* Right content area */
.service-card-body {
  flex: 1 1 auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

/* Title and small decorative short line */
.service-card-body h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #0f1724;
}
.line-dec-short {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg,#6c63ff,#00c6ff);
  border-radius: 3px;
}

/* Muted paragraph */
.service-card p.muted {
  margin: 0;
  color: #556;
  font-size: .95rem;
  line-height: 1.5;
}

/* Read More Text */
.service-card a.readmore {
  margin: 0;
  color: rgba(109, 86, 163, 0.74);
  font-size: .80rem;
  /* font-size: .80rem; */
}

/* Hover / focus effects */
/* .service-card.horizontal-card:hover,
.service-card.horizontal-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(22,33,62,0.12);
  z-index: 2;
} */

/* entrance (if you still use IntersectionObserver code earlier) */
.service-card.horizontal-card { transform: translateY(6px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.service-card.horizontal-card.is-visible { transform: translateY(0); opacity: 1; }

/* Hover/zoom/lift effect that scales the whole card and raises it above neighbors */
.service-card.horizontal-card,
.service-card.horizontal-card.is-visible {
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease, opacity .35s ease;
  will-change: transform, box-shadow, opacity;
  transform-origin: center center;
}

.service-card:hover,
.service-card.horizontal-card:hover,
.service-card.horizontal-card:focus-within,
.service-card.horizontal-card.is-visible:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 22px 56px rgba(22,33,62,0.14);
  z-index: 20; /* ensure it sits above other cards */
}


/* Responsive adjustments */
@media (max-width: 576px) {
  .service-card.horizontal-card {
    gap: 8px;
    min-height: 110px;
  }
  .service-card-left { flex: 0 0 78px; }
  .logo-wrap { width: 56px; height: 56px; }
  .service-card-divider { height: 58%; width: 6px; border-radius: 4px; }
  .service-card-body { padding: 10px; }
}



/* To be used later */
/* Add this CSS for the fade-in animation */
    /* @keyframes fadeInUp {
  from {
        opacity: 0;
        transform: translateY(20px);
      }
  to {
        opacity: 1;
        transform: translateY(0);
      }
    } */


/* 
*************************
Pricing Card
************************* 
*/

/* Base styling for header, cards, and toggle remain the same */
/* Base styling for header, cards, and toggle remain the same */
        .pricing-header {
            font-size: 28px;
            font-weight: 700;
            color: black;
            margin-bottom: 30px;
            text-align: center;
            /* text-transform: uppercase; */
            padding-top: 50px;
        }

        .pricing-header span {
            color: #7453fc;
            text-decoration: none;
        }

        .pricing-cards {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .pricing-card {
            background: #fff;
            border-radius: 20px;
            padding: 30px;
            width: 100%;
            max-width: 320px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .pricing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }

        .pricing-title {
            font-size: 20px;
            font-weight: 600;
            /* color: #154c68; */
            color: #7453fc;
            margin-bottom: 10px;
        }

        .pricing-price {
            font-size: 32px;
            font-weight: bold;
            color: #222;
            margin-bottom: 20px;
        }

        .pricing-features {
            list-style: none;
            padding: 0;
            margin: 0 0 20px;
            text-align: left;
        }

        .pricing-features li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
            font-size: 14px;
            color: #444;
        }

        .pricing-btn {
            /* background: #154c68; */
            background: #7453fc;
            color: #fff;
            padding: 12px 25px;
            border-radius: 30px;
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .pricing-btn:hover {
            /* background: #0e374f; */
            background: #7453fc;
        }

        /* Toggle Switch Styling */
        .pricing-toggle {
            display: flex;
            justify-content: center;
            /* Center the toggle */
            position: relative;
            margin-bottom: 30px;
        }

        .pricing-toggle input {
            display: none;
        }

        .pricing-slider {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 180px;
            height: 40px;
            /* background: #154c68; */
            background: #7453fc;
            border-radius: 50px;
            position: relative;
            cursor: pointer;
            color: #fff;
            font-weight: 500;
        }

        .pricing-option {
            flex: 1;
            text-align: center;
            z-index: 2;
            font-size: 14px;
        }

        /* Knob */
        .pricing-slider::before {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 85px;
            height: 34px;
            background: #fff;
            border-radius: 50px;
            transition: all 0.3s ease;
            z-index: 1;
        }

        /* Section 1 toggle */
        .toggle-1 .pricing-switch-1:checked+.slider-1::before {
            transform: translateX(90px);
        }

        .toggle-1 .slider-1 .pricing-monthly {
            /* color: #154c68; */
            color: #7453fc;
            /* default inactive */
        }

        .toggle-1 .slider-1 .pricing-yearly {
            color: #fff;
            /* default inactive */
        }

        .toggle-1 .pricing-switch-1:checked+.slider-1 .pricing-monthly {
            color: #fff;
            /* inactive when yearly selected */
        }

        .toggle-1 .pricing-switch-1:checked+.slider-1 .pricing-yearly {
            /* color: #154c68; */
            color: #7453fc;
            /* active text visible */
        }

        /* Section 2 toggle */
        .toggle-2 .pricing-switch-2:checked+.slider-2::before {
            transform: translateX(90px);
        }

        .toggle-2 .slider-2 .pricing-monthly {
            /* color: #154c68; */
            color: #7453fc;
            /* default inactive */
        }

        .toggle-2 .slider-2 .pricing-yearly {
            color: #fff;
            /* default inactive */
        }

        .toggle-2 .pricing-switch-2:checked+.slider-2 .pricing-monthly {
            color: #fff;
            /* inactive when yearly selected */
        }

        .toggle-2 .pricing-switch-2:checked+.slider-2 .pricing-yearly {
            /* color: #154c68; */
            color: #7453fc;
            /* active text visible */
        }

        /* toggle Pricing 3 */
        .toggle-3 .pricing-switch-3:checked+.slider-3::before {
            transform: translateX(90px);
        }

        .toggle-3 .slider-3 .pricing-monthly {
            /* color: #154c68; */
            color: #7453fc;
            /* default inactive */
        }

        .toggle-3 .slider-3 .pricing-yearly {
            color: #fff;
            /* default inactive */
        }

        .toggle-3 .pricing-switch-3:checked+.slider-3 .pricing-monthly {
            color: #fff;
            /* inactive when yearly selected */
        }

        .toggle-3 .pricing-switch-3:checked+.slider-3 .pricing-yearly {
            /* color: #154c68; */
            color: #7453fc;
            /* active text visible */
        }

        /* Responsive */
        @media (max-width: 992px) {
            .pricing-cards {
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            .pricing-cards {
                flex-direction: column;
                align-items: center;
            }
        }