/* 
 * Formative Assessments Specific Styling
 * This CSS complements the main style.css for this specific page
 */

/* Hero Section */
.hero-section {
    padding: 60px 0;
}

.hero-section h1 {
    /* color: #0d6efd; */
    line-height: 1.2;
}

.hero-section .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.hero-section .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-container {
    border-radius: 15px;
    padding: 30px;
}

.stat-box {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-box .display-6 {
    color: #0d6efd;
}

/* How It Works Section */
.how-it-works-section {
    background-color: #f8f9fa;
}

.process-steps {
    padding: 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    text-align: center;
}

/* AI Feedback Section */
.field-content {
    height: 100%;
    border-radius: 15px;
}

.testimonial-box {
    border-left: 4px solid #0d6efd;
}

.ai-feedback-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.ai-feedback-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Progress Tracking */
.student-progress-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.student-progress-card:hover {
    transform: translateY(-3px);
}

/* Feature Boxes */
.feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #e7f0ff;
    color: #0d6efd;
    margin-bottom: 15px;
}

/* Call to Action Section */
.cta-content {
    background: linear-gradient(135deg, #0d6efd, #0099ff);
}

.cta-buttons .btn {
    min-width: 180px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-image {
        margin-bottom: 30px;
    }
}

/* Animation effects */
.feature-box, .ai-feedback-card, .student-progress-card, .stat-box {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Delay animations for staggered effect */
.feature-box:nth-child(1), .ai-feedback-card:nth-child(1), .stat-box:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-box:nth-child(2), .ai-feedback-card:nth-child(2), .stat-box:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-box:nth-child(3), .ai-feedback-card:nth-child(3), .stat-box:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-box:nth-child(4), .stat-box:nth-child(4) {
    animation-delay: 0.4s;
}
.feature-box:nth-child(5) {
    animation-delay: 0.5s;
}
.feature-box:nth-child(6) {
    animation-delay: 0.6s;
}
