/* 
 * Edyant - Components Stylesheet
 * Contains styles for reusable UI components like carousels, cards, etc.
 */

/* ======= ANALYTICS CAROUSEL ======= */
.analytics-container {
    position: relative;
    overflow: hidden;
    padding: 0 30px;
    margin: 15px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.analytics-carousel {
    display: flex;
    width: 500%;
    transition: transform 0.5s ease;
}

.analytics-item {
    width: 20%;
    flex-shrink: 0;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.analytics-content {
    max-width: 800px;
    width: 100%;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.analytics-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.analytics-icon {
    margin-bottom: 20px;
    color: #4a6fa0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(74, 111, 160, 0.1);
}

.analytics-item h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.analytics-item p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.analytics-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.analytics-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analytics-indicator.active {
    background-color: #4a6fa0;
    transform: scale(1.2);
}

/* ======= TESTIMONIAL CAROUSEL ======= */
.testimonial-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 180px;
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-slide.active {
    opacity: 1;
    z-index: 1;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    z-index: 2;
    position: relative;
}

/* ======= PARTNER LOGO GRID ======= */
.partner-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 20px;
}

.partner-logo {
    width: 120px;
    height: 120px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ======= PRICING COMPONENTS ======= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-tier {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tier-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 10px;
    text-align: center;
}

.tier-price {
    font-size: 2rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 20px;
    text-align: center;
}

.tier-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.tier-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555555;
    font-size: 1.0rem;
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features span.check {
    color: #333333;
    font-weight: 500;
}

.tier-features span.value {
    float: right;
    font-weight: 500;
}

.tier-btn {
    margin-top: auto;
}

/* Popular plan highlight */
.pricing-tier.popular {
    border: 2px solid #333333;
    position: relative;
    z-index: 2;
    transform: scale(1.03);
}

.pricing-tier.popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #333333;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
}

/* Responsive pricing grid */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .pricing-tier.popular {
        grid-row: 1;
        grid-column: 2;
    }
    
    .analytics-carousel {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .analytics-item {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-tier {
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-tier.popular {
        grid-row: 2;
        grid-column: 1;
    }
    
    .analytics-content {
        padding: 25px;
    }
    
    .analytics-item {
        padding: 5px;
    }
    
    .analytics-container {
        padding: 0 10px;
    }
}