/* Limitations Section Styles */
.limitation-section {
    /* min-height: 100vh; */
    background-color: #FCF3E7;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto !important;
    height: auto !important;
    /* margin-bottom: -5em; */
}

.limitation-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

/* Top infographic styles */
.limitation-top {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.infographic-main {
    margin-top: -6em;
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
}

/* Cards container */
.limitation-cards {
    margin-top: -3em;
    display: flex;
    gap: 2rem;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    position: relative;
    width: 100%;
}

/* Card styles */
.limitation-card {
    width: 300px;
    position: relative;
    cursor: pointer;
}

.limitation-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Card hover effect */
.card-1::after,
.card-2::after,
.card-3::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  padding: 3px;
  background: conic-gradient(from 0deg, #FF6545, white, #FF6545);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-1:hover::after {
  background: conic-gradient(from 0deg, #FF6545, white, #FF6545);
  opacity: 1;
}

.card-2:hover::after {
  background: conic-gradient(from 0deg, #6272DB, white, #6272DB);
  opacity: 1;
}

.card-3:hover::after {
  background: conic-gradient(from 0deg, #FFDC2E, white, #FFDC2E);
  opacity: 1;
}
  
  
/* Sections Container */
.sections-container {
    position: relative;
    width: 100%;
}

/* Transition SVG */
.transition-svg {
    position: absolute;
    top: -190px; /* move up to overlap limitation */
    left: 800px;
    width: 60%;
    margin: 0 auto;
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: center;
  }
  
  .transition-svg img {
    width: 30%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255));
    pointer-events: none;
  }
  

/* Generate section */
.generate-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    width: 100%;
    background: linear-gradient(to bottom, #FCF3E7, #F6DCD4);
    position: relative;
    z-index: 1;
}

.generate-label {
    font-size: 3rem;
    font-weight: 700;
    color:black;
    margin-bottom: 2em;
    margin-left: -3em;

}

/* Responsive styles */
@media (max-width: 1200px) {
    .infographic-main {
        width: 80%;
    }
}

@media (max-width: 991px) {
    .limitation-cards {
        flex-direction: column;
        align-items: center;
    }

    .limitation-card {
        width: 80%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .infographic-main {
        width: 90%;
    }

    .limitation-card {
        width: 90%;
    }

    .generate-label {
        font-size: 2rem;
    }
}
