/* Enhanced CV Online Page Styles */

/* AI Features Section */
.ai-features {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ai-features .feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.ai-features .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.ai-features .feature-icon {
    text-align: center;
    margin-top: 20px;
}

.ai-features .feature-icon {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.ai-features .feature-icon lottie-player {
    width: 100%;
    height: auto;
}

.ai-features .feature-icon img {
    max-width: 80px;
    height: auto;
}

.ai-features .feature-card h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.ai-features .feature-card p {
    color: #6c757d;
    line-height: 1.6;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.testimonials .title-step h2,
.testimonials .title-step .lead {
    color: white;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    height: 100%;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.author-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.author-info p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.faq-item h4 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced existing sections */
.bg-light {
    background-color: #f8f9fa !important;
}

.lead {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: #6c757d;
}

/* 5 column grid */
.col-five {
    width: 20%;
    float: left;
    padding-right: 15px;
    padding-left: 15px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .col-five {
        width: 33.333%;
    }
}

@media (max-width: 768px) {
    .col-five {
        width: 50%;
    }
    .ai-features .feature-card,
    .testimonial-card,
    .faq-item {
        padding: 20px;
    }
    
    .ai-features .feature-card {
        min-height: 300px;
    }
    
    .ai-features .feature-icon {
        min-height: 120px;
    }
    
    .ai-features .feature-icon lottie-player {
        max-width: 388px;
        max-height: 300px;
    }
    
    .ai-features .feature-card h3,
    .faq-item h4 {
        font-size: 16px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .faq-item {
        min-height: 180px;
    }
}

/* Enhanced Template Preview Styles */
.tutorial-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 350px; /* Consistent height for all cards */
}

.tutorial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.tutorial-content img {
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.tutorial-content .caption {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tutorial-content .caption h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.tutorial-content .caption p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.testimonial-card,
.faq-item,
.tutorial-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for multiple cards */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

.tutorial-content:nth-child(1) { animation-delay: 0.1s; }
.tutorial-content:nth-child(2) { animation-delay: 0.2s; }
.tutorial-content:nth-child(3) { animation-delay: 0.3s; }
.tutorial-content:nth-child(4) { animation-delay: 0.4s; }
.tutorial-content:nth-child(5) { animation-delay: 0.5s; }
.tutorial-content:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced AI Features Section */
.ai-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ai-features .title-step h2 {
    color: #2c3e50;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.ai-features .lead {
    color: #6c757d;
    font-size: 18px;
    margin-bottom: 50px;
}

.ai-features .feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-features .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #6610f2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ai-features .feature-card:hover::before {
    transform: scaleX(1);
}

.ai-features .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.ai-features .feature-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.ai-features .feature-card h3 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.ai-features .feature-card p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for AI features */
@media (max-width: 768px) {
    .ai-features {
        padding: 60px 0;
    }
    
    .ai-features .title-step h2 {
        font-size: 28px;
    }
    
    .ai-features .lead {
        font-size: 16px;
    }
    
    .ai-features .feature-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .ai-features .feature-card h3 {
        font-size: 20px;
    }
    
    .ai-features .feature-card p {
        font-size: 14px;
    }
} 