

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI", Arial, sans-serif;
}

body{
    background:#f4f6f9;
    color:#333;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

/* Header */
header{
    background:linear-gradient(135deg,#1e3c72,#2a5298);
    color:#fff;
    text-align:center;
    padding:40px 20px;
}

header h1{
    font-size:32px;
    margin-bottom:6px;
}

header p{
    font-size:16px;
    opacity:.9;
}

/* Main */
main{ flex:1; }

.container{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}

/* Accordion */
.accordion-item{
    background:#fff;
    border-radius:12px;
    margin-bottom:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    overflow:hidden;
}

.accordion-header{
    background:#2a5298;
    color:#fff;
    padding:20px 24px;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.accordion-header span{
    font-size:22px;
    transition:transform .3s ease;
}

.accordion-header.active span{
    transform:rotate(45deg);
}

.accordion-content{
    max-height:0;
    overflow:hidden;
    transition:max-height .5s ease;
    background:#f9fbff;
}

.accordion-content-inner{
    padding:30px;
}

/* Student Grid */
.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

/* Student Card */
.portfolio-card{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    display:flex;
    gap:15px;
    transition:.3s ease;
}

.portfolio-card:hover{
    transform:translateY(-5px);
}

/* Photo */
.student-photo{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #2a5298;
}

/* Card Content */
.card-body{
    flex:1;
}

.card-body h3{
    font-size:17px;
    color:#2a5298;
}

.batch{
    font-size:12px;
    background:#eef3ff;
    color:#2a5298;
    display:inline-block;
    padding:3px 8px;
    border-radius:12px;
    margin:4px 0 6px;
}

.card-body p{
    font-size:13px;
    line-height:1.4;
}

/* Button */
.card-footer{
    text-align:right;
    margin-top:8px;
}

.card-footer a{
    text-decoration:none;
    background:#2a5298;
    color:#fff;
    padding:6px 14px;
    border-radius:6px;
    font-size:13px;
}

.card-footer a:hover{
    background:#1e3c72;
}

/* Footer */
footer{
    background:#1e3c72;
    color:#fff;
    text-align:center;
    padding:20px;
    font-size:14px;
}
