/* ===== BODY ===== */
body{
margin:0;
font-family:"Segoe UI",sans-serif;
  background-color: #f3f4f6;

min-height:100vh;
}

/* ===== CONTAINER ===== */
.container{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

/* ===== TOP BAR ===== */
.top-bar{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:10px;
}

/* ===== TITLE ===== */
.section-title{
font-size:30px;
font-weight:800;
letter-spacing:1px;
background:linear-gradient(135deg,#2563eb,#9333ea,#ec4899);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
text-shadow:0 3px 10px rgba(0,0,0,0.15);
}

/* ===== BADGE ===== */
.badge{
background:#2563eb;
color:white;
padding:8px 14px;
border-radius:20px;
font-size:13px;
font-weight:600;
}

/* ===== GRID ===== */
.paper-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:22px;
margin-top:25px;
}

/* ===== CARD ===== */
.paper-card{
background:white;
border-radius:14px;
  max-height: 300px;
padding:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:all .35s ease;
position:relative;
overflow:hidden;
cursor:pointer;
}

.paper-card:hover{
transform:translateY(-7px);
box-shadow:0 18px 45px rgba(0,0,0,0.15);
}

/* subtle glowing border */
.paper-card::before{
content:"";
position:absolute;
inset:-2px;
border-radius:16px;
background:linear-gradient(45deg,#3b82f6,#9333ea,#3b82f6);
opacity:0;
transition:.4s;
z-index:-1;
}

.paper-card:hover::before{
opacity:0.3;
}

/* ===== CARD HEADER ===== */
.paper-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}

.paper-header h3{
font-size:18px;
font-weight: 800;
color:#111827;
margin:0;
}

/* ===== TYPE BADGE ===== */
.paper-type{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#ecfdf5;
  color:#047857;
  font-size:14px;
  font-weight:700;
  padding:5px 12px;
  border-radius:999px;
  border:1px solid #a7f3d0;
  white-space:nowrap;
}
/* ===== INFO TEXT ===== */
.paper-info p{
font-size:13px;
color:#1f2024;
margin:4px 0;
}

/* ===== ACTION BUTTONS ===== */
.paper-actions{
display:flex;
gap:10px;
margin-top:15px;
flex-wrap:wrap;
}

/* view button */
.view-btn{
background:#3b82f6;
color:white;
border:none;
padding:7px 14px;
border-radius:6px;
cursor:pointer;
font-size:13px;
transition:.3s;
}

.view-btn:hover{
background:#2563eb;
}

/* download button */
.download-btn{
background:#10b981;
color:white;
padding:10px 14px;
border-radius:6px;
text-decoration:none;
font-size:16px;
font-weight: 700;
transition:.3s;
}

.download-btn:hover{
background:#059669;
}

/* ===== VIEW ALL BUTTON ===== */
.view-all-container{
text-align:center;
margin-top:30px;
}

.view-all-btn{
background:#2563eb;
color:white;
border:none;
padding:12px 22px;
font-size:14px;
border-radius:8px;
cursor:pointer;
transition:.3s;
}

.view-all-btn:hover{
background:#1d4ed8;
transform:translateY(-2px);
}

/* ===== EMPTY MESSAGE ===== */
.paper-grid p{
font-size:20px;
color:#0f141d;
font-weight: 600;
display: flex;
justify-content: space-between;
text-align:start;
grid-column:1/-1;
}

/* ===== TABLET ===== */
@media (max-width:992px){
.paper-grid{
grid-template-columns:repeat(2,1fr);
}
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width:768px){

.section-title{
font-size:24px;
text-align:center;
width:100%;
}

.top-bar{
justify-content:center;
}

.container{
padding:25px 15px;
}

.paper-card{
padding:16px;
}

/* Mobile → 1 box */
.paper-grid{
grid-template-columns:1fr;
}

}


.back {
  display: inline-block;
}

/* Style the icon like a button */
.back i {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 10px 14px;
  border-radius: 8px;

  background: #f1f5f9;
  color: #333;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect */
.back i:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* Click effect */
.back i:active {
  transform: scale(0.96);
}

/* Mobile friendly */
@media (max-width: 600px) {
  .back i {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 12px;
  }
}










