/* student-life.css - Student Life for Form Five & Six */

/* ===== HERO SECTION ===== */
.student-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.student-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
    0% { transform: rotate(45deg) translate(0, 0); }
    100% { transform: rotate(45deg) translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.intro-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.intro-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 25px;
}

.level-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.level-badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.level-badge.form5 {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.level-badge.form6 {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.level-badge.al {
    background: linear-gradient(135deg, var(--accent-color), #e0a800);
    color: var(--dark-color);
}

/* ===== SCHEDULE SECTION ===== */
.schedule-section {
    background: white;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.schedule-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.schedule-section h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.schedule-time {
    width: 180px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 14px;
}

.schedule-activity {
    flex: 1;
    font-size: 14px;
    color: #555;
}

/* ===== ACADEMIC SECTION ===== */
.academic-section {
    margin-bottom: 40px;
}

.academic-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.academic-section h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.academic-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.academic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 157, 179, 0.15);
}

.academic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.academic-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.academic-card ul {
    list-style: none;
    padding: 0;
}

.academic-card ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.academic-card ul li i {
    color: var(--primary-color);
    width: 18px;
}

/* ===== ACTIVITIES SECTION ===== */
.activities-section {
    margin-bottom: 40px;
}

.activities-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.activities-section h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.activity-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 157, 179, 0.15);
}

.activity-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.activity-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.activity-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ===== BOARDING SECTION ===== */
.boarding-section {
    background: linear-gradient(135deg, #f8f9fa, white);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 40px;
}

.boarding-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.boarding-section h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.boarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.boarding-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.boarding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.boarding-image {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.boarding-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.boarding-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
    margin-bottom: 40px;
}

.leadership-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.leadership-section h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.leadership-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 157, 179, 0.15);
}

.leadership-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 22px;
}

.leadership-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.leadership-card p {
    font-size: 12px;
    color: #666;
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
    margin-bottom: 40px;
}

.comparison-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.comparison-section h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.comparison-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form5-card {
    border-top: 4px solid #17a2b8;
}

.form6-card {
    border-top: 4px solid #28a745;
}

.comparison-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.comparison-card h4 i {
    margin-right: 10px;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-card ul li i {
    color: var(--primary-color);
    width: 18px;
}

/* ===== GALLERY PREVIEW ===== */
.gallery-preview {
    background: white;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.gallery-preview h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.gallery-preview h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.preview-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.preview-item:hover img {
    transform: scale(1.1);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.preview-item:hover .preview-overlay {
    transform: translateY(0);
}

.preview-overlay span {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.view-all {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 157, 179, 0.3);
    color: white;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
    margin-bottom: 40px;
}

.quote-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.quote-card i {
    font-size: 50px;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
}

.quote-card p {
    font-size: 20px;
    font-style: italic;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.quote-card span {
    font-size: 14px;
    opacity: 0.9;
    display: block;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    color: white;
    margin: 40px 0 60px;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary, .btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: white;
    color: var(--primary-color);
}

.btn-cta-primary:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 38px;
    }
    
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .student-hero {
        padding: 50px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .intro-section h2 {
        font-size: 28px;
    }
    
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .schedule-time {
        width: auto;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .boarding-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-card p {
        font-size: 16px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary, .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 18px;
    }
    
    .intro-section {
        padding: 20px;
    }
    
    .intro-section h2 {
        font-size: 24px;
    }
    
    .level-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .level-badge {
        width: 100%;
        justify-content: center;
    }
    
    .academic-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-item, .academic-card, .activity-card, .boarding-card, .leadership-card {
    animation: fadeInUp 0.6s ease-out;
}

.schedule-item:nth-child(1) { animation-delay: 0s; }
.schedule-item:nth-child(2) { animation-delay: 0.05s; }
.schedule-item:nth-child(3) { animation-delay: 0.1s; }
.schedule-item:nth-child(4) { animation-delay: 0.15s; }
.schedule-item:nth-child(5) { animation-delay: 0.2s; }
.schedule-item:nth-child(6) { animation-delay: 0.25s; }
.schedule-item:nth-child(7) { animation-delay: 0.3s; }
.schedule-item:nth-child(8) { animation-delay: 0.35s; }
.schedule-item:nth-child(9) { animation-delay: 0.4s; }
.schedule-item:nth-child(10) { animation-delay: 0.45s; }
.schedule-item:nth-child(11) { animation-delay: 0.5s; }
.schedule-item:nth-child(12) { animation-delay: 0.55s; }