/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 30 Jun 2026, 3:03:06 pm
    Author     : nurulfarhanabintijeefrilikhsan
*/

/* welcome.css */

.logo-box {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
}

.logo-box i {
    color: #ffffff;
    font-size: 32px;
}

.subtitle {
    font-size: 1.5rem;
    color: #475569;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1rem;
    color: #64748b;
}

.role-container {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

.card {
    background: #ffffff;
    width: 100%;
    max-width: 340px;
    border-radius: 22px;
    padding: 32px 28px 26px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.icon-box {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 28px;
}

.student .icon-box {
    background: #dbeafe;
}

.student .icon-box i,
.student h2 {
    color: #2563eb;
}

.staff .icon-box {
    background: #f3e8ff;
}

.staff .icon-box i,
.staff h2 {
    color: #9333ea;
}

.admin .icon-box {
    background: #e0e7ff;
}

.admin .icon-box i,
.admin h2 {
    color: #4f46e5;
}

.card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    min-height: 72px;
    margin-bottom: 24px;
}

.btn-student-primary {
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    margin-bottom: 14px;
}

.btn-student-secondary {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-staff-primary {
    background: linear-gradient(90deg, #a855f7, #7e22ce);
    color: #ffffff;
    border: none;
    margin-bottom: 14px;
}

.btn-staff-secondary {
    background: #ffffff;
    color: #9333ea;
    border: 2px solid #9333ea;
}

.btn-admin-primary {
    background: linear-gradient(90deg, #6366f1, #4338ca);
    color: #ffffff;
    border: none;
    margin-bottom: 14px;
}

.btn-admin-secondary {
    background: #ffffff;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.features-footer {
    background: #ffffff;
    margin: 40px auto 0;
    border-radius: 22px;
    padding: 32px 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.features-footer h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 28px;
    color: #0f172a;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    flex: 1;
    min-width: 220px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.feature-icon i {
    font-size: 24px;
}

.feature-green {
    background: #dcfce7;
}

.feature-green i {
    color: #16a34a;
}

.feature-yellow {
    background: #fef3c7;
}

.feature-yellow i {
    color: #d97706;
}

.feature-red {
    background: #fee2e2;
}

.feature-red i {
    color: #dc2626;
}

.feature strong {
    display: block;
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.feature span {
    font-size: 0.95rem;
    color: #64748b;
}

@media (max-width: 992px) {
    .subtitle {
        font-size: 1.2rem;
    }

    .role-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 500px;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .subtitle {
        font-size: 1rem;
    }

    .tagline {
        font-size: 0.92rem;
    }

    .card h2 {
        font-size: 1.6rem;
    }

    .features-footer h3 {
        font-size: 1.5rem;
    }
}