

/* Shifting Cards Section Layout */
.shifting-cards-section {
    display: flex;
    align-items: center;
    gap: 60px;

    margin: auto;
}

.shifting-cards-navigation {
    flex-basis: 50%;
}

.shifting-cards-display {
    flex-basis: 50%;
    position: relative;
    display: grid;
    place-items: center;
}

/* Text Styling */
.shifting-cards-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white !important;
    margin-top: unset;
}

.shifting-cards-subtitle {
    font-size: 30px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: white !important;
    font-family: 'FAIRE Sprig Sans';
}

/* List and Item Styling */
.shifting-cards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shifting-cards-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.shifting-cards-item .text {
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0.06em;
    color: white;
}
.shifting-cards-item .indicator-line {
    width: 4px;
    height: 25px;
background-color: #C0C0CB99;
    margin-right: 10px;
    transition: background-color 0.3s ease-in-out;
}

/* Active State */
.shifting-cards-item.active {
    opacity: 1; /* Make active item fully visible */
}

.shifting-cards-item.active .indicator-line {
    background-color: #6F37DB;
}

/* Image Styling */
.shifting-cards-image {
    width: 90%; 
     height: auto;
      position: relative;
    border-radius: 10px;
      z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      grid-area: 1 / 1; 
        max-width: 100%;
    /* This transition creates the smooth fade effect */
  transition: transform 0.3s ease-in-out, opacity 0.15s ease-in-out;
}

@media (min-width: 990px) {
.shifting-cards-image:hover {
    transform: scale(1.2);
}
}

.purple-fade-background {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.1);
}

@media only screen and (max-width: 600px) {
    section.intelligence h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
.shifting-cards-section {
    flex-direction: column;
}

.shifting-cards-title h2 br {
    display: none;
}
section.intelligence h3 {
    margin-bottom: unset;
}
.shifting-cards-title {
    font-size: 28px !important;
    margin-bottom: 12px !important;
}

.shifting-cards-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
}

.shifting-cards-item .text {
    font-size: 18px;
    line-height: 1.5;
}

.shifting-cards-item .indicator-line {
    height: 50px;
}

.shifting-cards-image {
    width: 100%;
}

.shifting-cards-section {
    gap: 30px;
}
}