@import url(../main.css);
       

.accordion-item{
    height: 580px;
    width: 1200px;
}
.main_accordion {
    height: 500vh;
}
.form_img{
    transform: scaleX(-1);
} 
.hero_section_img {
  transform: none;
}
.hero_section_img iframe,
.hero_section_img img {
  transform: none;
}

.holographic-button {
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  z-index: 1;
}

.holographic-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    var(--primary-dark)
  );
  transform: rotate(-45deg)  translateY(100%);
  transition: all 0.5s ease;
 
  opacity: 1;
  z-index: 0;
}

.holographic-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--gradient-start);
}

.holographic-button:hover::before {
  opacity: 0;
  transform: rotate(-45deg) ;
}

.demo_btn{
    background: var(--primary);
}
.demo_btn:hover{
    background: var(--primary-dark);
}
.demo_btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -40%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    var(--primary-dark)
  );
  transform: rotate(-45deg)  translateY(100%);
  transition: all 0.5s ease;
 
  opacity: 1;
  z-index: 0;
}


@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-medium {
  animation: spin 10s linear infinite; 
}

/* Responsive fixes for request-demo slides */
/* Stacking Cards Animation */
.main_accordion {
    position: relative;
    padding-bottom: 10vh; /* Space at end */
}

/* Container for each card - handles the sticky positioning */
.card-container {
    position: sticky;
    top: 6rem; /* All cards stack at the same position */
    height: 100vh; /* Takes full viewport height to allow scrolling to next */
    display: flex;
    align-items: flex-start; /* Align card to top of container */
    justify-content: center;
    padding-top: 2rem; 
    margin-bottom: 0; /* Remove margin so they stack */
}

/* The actual card logic */
.accordion-item {
    width: min(1200px, 95%);
    max-width: 1200px;
    background: #fff; /* Ensure generic white background for stacking opacity */
    box-sizing: border-box;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    border-radius: 1.5rem; /* Modern rounded corners */
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05); /* Subtle shadow, negative Y to separate from back card */
    border: 1px solid rgba(139, 92, 246, 0.1); /* light purple border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 -15px 50px rgba(139, 92, 246, 0.15);
}

/* Image Column */
.accordion-item .accordion-item-img {
    flex: 0 0 44%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 44%;
    min-height: 280px;
    overflow: hidden;
    border-radius: 1rem;
    padding: 0.5rem;
}

.accordion-item .accordion-item-img iframe {
    width: 100%;
    max-width: 420px;
    height: auto;
    border: 0;
    pointer-events: none; /* Prevent stealing scroll */
}

.accordion-item .accordion-item-img .card-main-media {
    width: min(100%, 360px);
    max-width: 360px;
    height: 250px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Text Column */
.accordion-item-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.accordion-item h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #5b21b6; /* darker purple */
}

.accordion-item ul li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4b5563; /* gray-600 */
}

/* Responsive */
@media (max-width: 1024px) {
    .accordion-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
        height: auto;
    }
    
    .card-container {
        height: auto; /* Allow natural flow on mobile */
        position: relative;
        top: 0;
        display: block;
        margin-bottom: 2rem;
    }
    
    .accordion-item .accordion-item-img, 
    .accordion-item-content {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .accordion-item .accordion-item-img {
        min-height: 190px;
    }

    .accordion-item .accordion-item-img .card-main-media {
        width: min(100%, 280px);
        max-width: 280px;
        height: 180px;
    }
    
    .accordion-item h2 {
        text-align: center;
    }
    
    .accordion-item ul {
        text-align: left;
    }
}

/* Demo form enhancements */
.demo-form{
  background: #fff;
  border-radius: 1rem;
}
.demo-form .form-field{
  display: block;
}
.demo-form .input-icon{
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF; /* gray-400 */
  pointer-events: none;
}
.demo-form input,
.demo-form select,
.demo-form textarea{
  transition: box-shadow 150ms ease, border-color 150ms ease;
  border-width: 1px;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus{
  box-shadow: 0 0 0 4px rgba(124,58,237,0.06);
  border-color: #7c3aed; /* purple-600 */
  outline: none;
}
.demo-form .input-helper{
  font-size: .75rem;
  color: #6B7280; /* gray-500 */
}
@media (max-width: 640px){
  .demo-form .input-helper{ font-size: .7rem; }
}


