/*=========================================
      B.Ed Premium Documents Section
=========================================*/

.bed-documents{
    max-width:1280px;
    margin:70px auto;
    padding:0 20px;
}

.documents-header{
    text-align:center;
    margin-bottom:50px;
}

.documents-header h2{
    font-size:38px;
    color:var(--primary);
    margin-bottom:15px;
    font-weight:700;
}

.documents-header p{
    font-size:17px;
    color:#666;
    max-width:820px;
    margin:auto;
    line-height:1.8;
}

/*================ Grid ================*/

.documents-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(520px,1fr));

    gap:22px;

}

/*================ Card ================*/

.document-card{

    display:flex;

    align-items:center;

    background:#fff;

    border-radius:16px;

    padding:22px;

    text-decoration:none;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    transition:.35s;

    position:relative;

    overflow:hidden;

    border:1px solid var(--border);

}

.document-card:before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:6px;

    height:100%;

    background:var(--primary);

}

.document-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

    border-color:var(--primary);

}

.document-card:hover:before{

    width:10px;

}

/*================ Number ================*/

.doc-number{

    width:72px;

    height:72px;

    min-width:72px;

    border-radius:50%;

    background:var(--orange-gradient);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    font-weight:bold;

    margin-right:20px;

}

/*================ Details ================*/

.doc-details{

    flex:1;

}

.doc-details h3{

    margin:0 0 8px;

    color:#222;

    font-size:20px;

    font-weight:600;

}

.doc-details span{

    color:#666;

    font-size:15px;

    line-height:1.7;

}

/*================ Download ================*/

.doc-download{

    padding:12px 20px;

    border-radius:40px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:.35s;

    white-space:nowrap;

}

.document-card:hover .doc-download{

    background:var(--primary-dark);

}

/*================ Badge ================*/

.doc-badge{

    background:var(--light-bg);

    color:var(--primary);

    padding:10px 18px;

    border-radius:30px;

    font-weight:700;

    font-size:14px;

    white-space:nowrap;

}

/*================ Info Card ================*/

.info-card{

    cursor:default;

}

/*================ Hover Animation ================*/

.document-card:hover .doc-number{

    transform:rotate(360deg);

    transition:.7s;

}

/*================ Responsive ================*/

@media(max-width:991px){

.documents-grid{

    grid-template-columns:1fr;

}

}

@media(max-width:768px){

.document-card{

    flex-direction:column;

    align-items:flex-start;

}

.doc-number{

    margin-bottom:18px;

    margin-right:0;

}

.doc-download,

.doc-badge{

    margin-top:18px;

}

.documents-header h2{

    font-size:30px;

}

}

@media(max-width:480px){

.document-card{

    padding:18px;

}

.doc-number{

    width:60px;

    height:60px;

    font-size:20px;

}

.doc-details h3{

    font-size:17px;

}

.doc-details span{

    font-size:14px;

}

.doc-download{

    width:100%;

    text-align:center;

}

.doc-badge{

    width:100%;

    text-align:center;

}

}
