/* ============================================
   LEGAL DOCUMENTS CSS - Knowledge Wave India
   Colors: #0A210F #14591D #99AA38 #392F5A #F6F8FF
   ============================================ */

/* Document Links */
.doc-links {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #F6F8FF;
    border-radius: 10px;
    color: #0A210F;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.doc-links li a:hover {
    background: #fff;
    border-color: #99AA38;
    color: #99AA38;
    padding-left: 25px;
}

.doc-links li a i {
    color: #99AA38;
    font-size: 16px;
    width: 22px;
}

/* ========== CERTIFICATES GRID ========== */
.certificates-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.certificate-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: #F6F8FF;
    border-radius: 15px;
    padding: 28px 25px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    border-color: #99AA38;
    box-shadow: 0 8px 25px rgba(153,170,56,0.1);
    transform: translateY(-3px);
}

.certificate-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    background: linear-gradient(135deg, #0A210F, #14591D);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #99AA38;
}

.certificate-info {
    flex: 1;
}

.certificate-info h4 {
    font-size: 18px;
    color: #0A210F;
    margin: 0 0 6px;
    font-weight: 700;
}

.certificate-info p {
    color: #666;
    font-size: 14px;
    margin: 0 0 8px;
}

.cert-meta {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #99AA38;
    color: #0A210F;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-download:hover {
    background: transparent;
    color: #99AA38;
    border-color: #99AA38;
}

.btn-download i {
    font-size: 14px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767.98px) {
    .certificate-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 22px 18px;
    }
    
    .certificate-icon {
        margin: 0 auto;
    }
    
    .doc-links li a {
        font-size: 14px;
        padding: 10px 15px;
    }
}

@media (max-width: 575.98px) {
    .certificate-card {
        padding: 18px 15px;
    }
    
    .certificate-info h4 {
        font-size: 16px;
    }
}