/* ============================================
   4Skills Academy - Student Life Page Styles
   Life Cards, Testimonials, Events
   ============================================ */

/* Student Life Cards */
.life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.life-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.life-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.life-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.life-card h3 {
    padding: 1.5rem;
    padding-bottom: 0.5rem;
}

.life-card p {
    padding: 0 1.5rem 1.5rem;
}

/* Testimonials */
.testimonials {
    margin-top: 4rem;
}

.testimonials h3 {
    margin-bottom: 2rem;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content .quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    text-align: center;
    background: var(--gradient);
    color: var(--white);
    border-radius: 8px;
    padding: 1rem;
    flex-shrink: 0;
    min-width: 80px;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.date-month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.event-content h3 {
    margin-bottom: 0.5rem;
}

.event-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-content p {
    margin: 1rem 0;
}
