@keyframes shine {
  0% {
    background-position: -100%;
  }
  100% {
    background-position: 100%;
  }
}

.custom-header {
    background-color: #876aafa8;
}
.shine {
  /*text-transform: uppercase;
  text-align: center;*/
  /*background: linear-gradient(to right, #666363 0, white 10%, #666363 90%);*/
  background: linear-gradient(to right, #666363 0, white 10%, #666363cc 90%);
  -webkit-background-clip: text;
  -webkit-size: 200%;
  -webkit-text-fill-color: #9f6ce54a;
  animation: animate 6s linear infinite;
}

.footer-shine {
  font-size: 50px;
}

@keyframes  animate {
  0% {
    background-position: 0;
  }
  50% {
    background-position: 470px;
  }
  100% {
    background-position: 470px;
  }
}
@property --from {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.counter {
  transition: --from 1s;
  counter-reset: int var(--from);
  animation: counter var(--time, 1000) forwards ease-in-out;
}

.counter::before {
  content: counter(int);
}

@keyframes counter {
  to {
    --from: var(--to, 100);
  }
}
.white-text {
  color: white;
}
.typing-container {
    text-align: left;
}

.typing-text {
    font-size: 2rem;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}
.line2 {
  font-weight: 900 !important;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  /*border-right: 3px solid #fff; /* The cursor effect */
  padding-right: 5px;
  line-height: 1.4;
}


.line2 {
    opacity: 0;
    animation: typing-line2 1.5s steps(10) 1s 1 normal both;
}

/* Typing animation for 'Invest' */
@keyframes typing-line1 {
    from {
        width: 0;
    }
    to {
        width: 5ch; /* Adjust this based on the length of "Invest" */
    }
}

/* Typing animation for 'With Intelligence' */
@keyframes typing-line2 {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 10ch; /* Adjust based on the length of "With Intelligence" */
        opacity: 1;
    }
}

/* Cursor blink effect */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@media only screen and (max-width:993px) {
  .footer-shine {
    font-size: 40px;
  }
  .service-card{
      margin-top: 10px;
  }
}

.loader {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* center vertically */
  z-index: 9999;
  gap: 5px;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
}

.bar {
  width: 8px;
  background-color: #3b183d;
  animation: bounce 1s infinite ease-in-out;
}

.bar:nth-child(1) {
  height: 20px;
  animation-delay: 0s;
}

.bar:nth-child(2) {
  height: 30px;
  animation-delay: 0.1s;
}

.bar:nth-child(3) {
  height: 40px;
  animation-delay: 0.2s;
}

.bar:nth-child(4) {
  height: 30px;
  animation-delay: 0.3s;
}

.bar:nth-child(5) {
  height: 20px;
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(2);
  }
}
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.site-header.sticky {
  position: fixed;
  background-color: #3e1b3dc7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* hide the page until we say otherwise */
.website-content { visibility: hidden; }

.custom-card {
  background: #fff;
  border-radius: 0 !important;
  padding: 1rem;
  height: 50%;
  min-height: 180px; /* optional, adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.custom-card:hover {
  background: #3b183d;     /* Original icon color becomes background */
  color: #fff;             /* Text/icon color becomes white */
}

.custom-card:hover .fa-solid,
.custom-card:hover .text-color-1 {
  color: #fff !important;  /* Ensure the icon turns white on hover */
}

   /* Card */
.product-card {
    position: relative;
    gap: 16px;
    display: flex;
    align-items: center;
    background: #3e1b3d;
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 6px;
    color: #fff;
}

/* Logo */
.product-left img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
}

/* Center text */
.product-center {
    flex: 1;
    margin-left: 18px;
}

.product-center h4 {
    margin: 0 0 6px;
    font-weight: 600;
}

.product-center p {
    margin: 0;
    font-size: 14px;
    color: #e0cfe3;
    line-height: 1.5;
}

/* Right column */
.product-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* Price */
.product-price {
    font-size: 15px;
    font-weight: 600;
}

/* Unique View Details CTA */
.view-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(192, 132, 252, 0.15);
    color: #c084fc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle:hover {
    background: #c084fc;
    color: #3e1b3d;
}

/* Arrow animation */
.toggle-arrow {
    transition: transform 0.3s ease;
}

.view-toggle.active .toggle-arrow {
    transform: rotate(90deg);
}

/* DETAILS SECTION (Animated) */
.product-details {
    max-height: 0;
    overflow: hidden;
    background-color: #eeeeee;
    border-radius: 0 0 16px 16px;
    padding: 0 26px;
    transition: all 0.4s ease;
}

.product-details.open {
    max-height: 500px;
    padding: 22px 26px;
    margin-bottom: 20px;
}
.btn-accent {
    border: 1px solid #fff;
}
.card-3d {
    background: linear-gradient(145deg, #3e1b3d, #2a122c);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 12px;

    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.25),
        inset 0 0 0 rgba(255,255,255,0.05);
}

.card-3d:hover {
    box-shadow:
        0 30px 60px rgba(0,0,0,0.35),
        inset 0 0 40px rgba(255,255,255,0.04);
}
.inner-box {
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 16px;
    transform: translateZ(30px);
    transition: transform 0.4s ease;
}

{{-- .card-3d:hover .inner-box {
    transform: translateZ(45px);
} --}}
.card-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.08),
        transparent 60%
    );
    pointer-events: none;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}
.details-grid > div {
    position: relative;
    padding-left: 20px;
}

.details-grid > div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(192,132,252,0.5),
        transparent
    );
}
.details-grid h6 {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--font-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-grid p {
    margin: 0;
    font-size: 14px;
    color: var(--font-1);
}
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-right {
        width: 100%;
        align-items: stretch;
    }

    .view-toggle {
        justify-content: center;
    }
    
    .product-details.open {
        max-height: 2500px;
        padding: 22px 26px;
        margin-bottom: 20px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}
